I want to compute the TMM for two RNASeq-samples in two different conditions. The number of DE genes is different in each sample. In order to compute the TMM normalization is required that the samples have the same genes listed in the corresponding order? If it is the case, how I can do this arrangement?
Thanks so much.
Gordon,
Thanks for your answer. The case is that in my two samples the genes with zero-read count have been trimmed, in the reference sample are 2814 and in the other 2809 from a set of total 2883 genes. Anyway, I have tried to use the readDGE function, considering my two samples with CSV (comma-separated) delimiter on the Desktop and I got this error message.
> files <- dir(pattern="*\\.csv$")
>
>
> RG <- readDGE(files, path=NULL, columns=c(1,2), group=NULL, labels=NULL)
Error in `[.data.frame`(d[[i]], , columns[2]) :
undefined columns selected
Thanks for any help.