What are ntop on plotPCA vsd in DESeq2?
I am trying to understand the following DESeq PCA code:
plotPCA(vsd, intgroup = "condition", ntop = 500)
VERY different to the differentially expressed subset of genes from here:
de <- rownames(res[res$padj<0.05 & !is.na(res$padj), ])
plotPCA(vsd[de,], intgroup = "condition", ntop = 500)
What are thos ntop=500 selected at the beginning then? based on what are they TOP?
• 4,134 views
•
link
1 answer
Please read the help ?DESeq2::plotPCA
ntop: number of top genes to use for principal components, selected by highest row variance
• 0 views
•
link
Log in to answer this question.
C: DESeq2: subset dds or vsd to plot PCA with specific genes only