I'm analyzing my HTseq count data using DEseq2 package. I generated the PCA plot using
plotPCA(rld, intgroup="condition")
Is there any straightforward way to label the points in a PCA plot by the names of the samples? (for example using a value named "sampleNames").
Thanks in advance!
You can also build up the PCA plot by hand. See the second code chunk here:
https://bioconductor.org/packages/devel/bioc/vignettes/DESeq2/inst/doc/DESeq2.html#principal-component-plot-of-the-samples
thanks! I used this approach in the end.