While I have used my title, it is more of a general statistics question regarding how these significance tests are carried out, these include
roast among others.
To give a brief overview of my experimental design, I am analysing bulk RNASeq datasets and there are two main factors in the design matrix:
casetimeViremia; where the latter identifies whether a patient is viremia positive or negative at a particular time point (1-4). This leaves us with 5 different possibilities for
casetimeViremia: 1-min, 2-plus, 3-min, 3-plus, 4-min.
The design matrix was created in R by running:
model.matrix(~patientID + casetimeViremia, data = dgeObject$samples)
dgeObject is an object of the function
For the purpose of answering this biological question, we wish to conduct the differential expression testing by seeing whether all the previously mentioned
casetimeViremia timepoints are separately and significantly expressed relative to each person's first timepoint, which is labelled as: 1-min.
Now, I understood that should I wish to conduct this test, I do not need to specify a contrast matrix in the
mroast function and can just do this by calling the column number of interest.. But in that case, how does
mroast know that I wish to do the contrast relative to the 1-min timepoint? And, just wondering, should I wish to define a contrast matrix, how would I do this given that there are two
colnames missing from the design, in this case one patientID and the 1-min timepoint?
Thank you all for your time.