PCA plot, plus sign?
Entering edit mode
Alena • 0
Last seen 20 months ago
United States

Hello, i am unsure what I am typing wrong for my code. I am trying to make a PCA plot with the data above. after typing in the code plotPCA(rld, intgroup = c("endometrium") I get a (+) sign. Not sure what to put for this? THANK YOU

The enter image description here

# include your problematic code here with any corresponding output 
# please also include the results of running the following in an R session 

sessionInfo( )
pathwayPCA • 585 views
Entering edit mode
Kevin Blighe ★ 3.9k
Last seen 23 days ago
Republic of Ireland

Hey, it looks like you are using RStudio - not a favourite of mine due to the fact that it uses more resources (than the standard R IDE) and often interferes incorrectly with the code formatting in a predictive manner. It also makes code look less --not more-- tidy.

In this case, you simply need to add an extra parenthesis to your plotPCA() commands:

plotPCA(rld, intgroup = c('endometrium'))
plotPCA(rld, intgroup = c('fallopiantube'))

Kind regards,



Login before adding your answer.

Traffic: 1022 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6