Question: SC3 how to customize plots ?
0
gravatar for shaktirielland
11 months ago by
shaktirielland0 wrote:

Hello,

I'm trying SC3 for single cell data analysis and it is very useful so far.

I just have a question about plots : when plotting the consensus matrix with sc3_plot_consensus, cells can be annotated by using parameter "show_pdata" like in the provided example (https://bioconductor.org/packages/devel/bioc/vignettes/SC3/inst/doc/SC3.html#consensus-matrix) like so:

sc3_plot_consensus( sce, k = 3, show_pdata = c("cell_type1", "sc3_3_clusters") )

How can you specify custom colors for this additional information (in this example how to specify that we want specific color for each cluster, and not the automatic colors provided by SC3) ? Same question (and hopefully same answer) when plotting top marker genes with sc3_plot_markers(sce, k = 3) ?

Thanks,

S.

 

plot heatmap marker sc3 consensus • 266 views
ADD COMMENTlink modified 11 months ago by Vladimir Kiselev150 • written 11 months ago by shaktirielland0
Answer: SC3 how to customize plots ?
0
gravatar for Vladimir Kiselev
11 months ago by
Sanger Institute, Cambridge, UK
Vladimir Kiselev150 wrote:

Hi, sorry for the late reply. For heatmap plots SC3 is using the pheatmap package (https://cran.r-project.org/web/packages/pheatmap/index.html). It looks like it's still not possible to control the colour palettes in that package, but please have a better look there and if there is could you please submit a pull request here: https://github.com/hemberg-lab/SC3

ADD COMMENTlink written 11 months ago by Vladimir Kiselev150
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 224 users visited in the last hour