PCA M3C
0
0
Entering edit mode
Johannes • 0
@086b086a
Last seen 3.2 years ago
United Kingdom

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

M3C RNASeq • 758 views
ADD COMMENT
0
Entering edit mode

Hi Jo, this doesn't seem to be related to my package, PCAtools; so, I removed that tag.

ADD REPLY

Login before adding your answer.

Traffic: 620 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6