PCA plot, plus sign?
1
0
Entering edit mode
Alena • 0
@e3625e23
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
ADD COMMENT
0
Entering edit mode
Kevin Blighe ★ 3.9k
@kevin
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,

Kevin

ADD COMMENT

Login before adding your answer.

Traffic: 1022 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