Question: PCA plot on DE genes do not separate samples. DESeq2.
gravatar for g.atla
3.6 years ago by
g.atla0 wrote:

I am running the DE analysis using Deseq2. When I plot the PCA of differentially expressed genes ( ntop=500) using the command below, I do not see a clear difference between in treated vs untreated.

de <- rownames(resdds[ (resdds$padj<0.05) & (!$pvalue)) & (!$padj)),])
data <- plotPCA(vsd, intgroup="treat", returnData=TRUE, ntop=500)
percentVar <- round(100 * attr(data, "percentVar"))
ggplot(data, aes(PC1, PC2, color=treat)) + geom_point(size=3) + geom_text_repel(aes(label=row.names(data))) + xlab(paste0("PC1: ",percentVar[1],"% variance")) + ylab(paste0("PC2: ",percentVar[2],"% variance"))

Are my results are reliable ? Here is the MA Plot and the GO looks god.

Tanks in advance.


deseq2 pca • 1.7k views
ADD COMMENTlink modified 3.6 years ago by James W. MacDonald51k • written 3.6 years ago by g.atla0
Answer: PCA plot on DE genes do not separate samples. DESeq2.
gravatar for James W. MacDonald
3.6 years ago by
United States
James W. MacDonald51k wrote:

I disagree. You get almost complete separation between the groups on the second principal component. Anyway, principal components is looking at the differences in samples based on a linear combination of the top 500 genes, whereas each univariate comparison is based on individual genes. There will always be differences between an aggregation of data and individual observations, and the former doesn't invalidate the latter.

ADD COMMENTlink written 3.6 years ago by James W. MacDonald51k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 320 users visited in the last hour