How to increase point size or color palette of a PCA plot using the scater package for scRNA analysis
0
1
Entering edit mode
6.8 years ago
AB ▴ 360

Hi,

I am using scater to analyze my single cell data. However the plotPCA function has a fixed point size and color palette. I couldn't find anything in the documentation that would help me increase point sizes or change the colors. I can always hack the SCEset and use ggplot. But is there anyway to do this using scater?

Thanks

scater plotPCA • 5.7k views
ADD COMMENT
1
Entering edit mode

got it. adding + geom_point() worked

ADD REPLY
0
Entering edit mode

Hello, I just saw your post. How did you do it exactly? I tried geom_point but I couldn't do it.

Thank you.

ADD REPLY
0
Entering edit mode

Hi You can adjust the size of the points by adding geom_point() to plotPCA function (e.g geom_point(size = 4)

ADD REPLY

Login before adding your answer.

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