Hey
I am trying to filter out my countdata file based on a minimum basemean of 20 and expressed in all of my samples.
I was going through one of your previously answered question and accordingly i am using the script
ddsTC <- DESeqDataSetFromMatrix(countDatanew, colData=phenotype_data, ~ strain + minute + strain:minute) ddsTC$strain <- relevel(ddsTC$strain, ref="control") ddsTC$minute <- relevel(ddsTC$minute, ref="pre") ddsTC <- DESeq(ddsTC, test="LRT", reduced = ~ strain + minute) rld <- rlog(ddsTC) test <- phenotype_data[order(phenotype_data$strain),] test2 <- test[order(test$minute),] rld_ordered <- rld[,rownames(test2)] resTC<-results(ddsTC, alpha = 0.05,independentFiltering=FALSE ) filterGenes <- rowSums(counts(ddsTC, normalized=TRUE) > 20 ) ==57 write.table(filterGenes,"filter")
but the result file i am getting is in form of true and false with no LFC, pvalue, or padj.
Any help will be highly appreciated.
Cheers
Farha