In my experiment, I have 5 objects (A,B,C,D,E) with drug treatment (Pre and Post). Therefore total samples include A-pre, A-post, B-pre, B-post, C-pre, C-post, D-pre, D-post, E-pre, E-post
Fist aim is comparing pre-treatment and post-treament, it should be 5 samples vs 5 samples
Second aim is comparing pre-treatment and post-treament in each indidual object, it should be A-pre vs A-post; B-pre vs B-post, C-pre vs C-post, D-pre vs D-post, E-pre vs E-post
I am confused about how to make design matrix and contrast matrix.
Design <- model.matrix(~0+treat_status+object) ??
Contrast <- make.contrast() ???