Entering edit mode
2.2 years ago
hosin
•
0
Hi there
I want to design a PCA plot by R. Repeatedly I have received this error:
Error in plot.xy(xy, type, ...) : invalid color name 'PopColor'
Popcolor
is a column in the popGroups
file with this format:
Pop2 Symbol PopColor PopColorBg
AFF 0 black gray
AFF 0 black gray
ALL 1 red black
ALL 1 red black
ALL 1 red black
AMM 2 green blue
AMM 2 green blue
AMM 2 green blue
AMM 2 green blue
I would be grateful if someone can help me to solve that problem!
If you want help, you need to do more than this. What command are you using to turn this into a plot?
Hi swbarnes2, Thanks for your respond and your consideration. The R code is: