Entering edit mode
Hi,
I am using M3C package for plotting PCA of an Deseq2 output. It worked fine a while, but today I got an error:
PCA wrapper function running... done. Error: Aesthetics must be either length 1 or the same as the data (63): colour
rld <- rlog(dds)
library(M3C)
pca.data <- assay(rld)
pca(pca.data, printres = FALSE, labels = AllSampleData$Condition_1, text = FALSE, legendtextsize = 10,axistextsize = 10,dotsize=2)
Can someone tell me how to adjust colour in this code?
Thank you,
Jo
Hi Jo, this doesn't seem to be related to my package, PCAtools; so, I removed that tag.