Codes in paper

15 cancer color codes in a paper

# set a color for each cancer type
cancer_color <- data.frame("type"=sort(unique(readRDS("CCLE_heterogeneity_Rfiles/CCLE_metadata.RDS") $cancer_type_trunc)), "color"= c(brewer.pal(12, "Set3")[c(1:6,8,7,10:11)], "maroon","gray93", "yellow2", "goldenrod1", "slateblue2"),stringsAsFactors = F)


Kinker G S , Greenwald A C , Tal R , et al. Pan-cancer single-cell RNA-seq identifies recurring programs of cellular heterogeneity[J]. Nature Genetics, 2020, 52(11):1208-1218.

Original code

Leave a Reply

Your email address will not be published. Required fields are marked *

Close Bitnami banner