Entering edit mode
simone.avesani22
•
0
@simoneavesani22-24145
Last seen 4.2 years ago
Hi, I am new with Bioconductor and I have a question about plotHeatmap() function of scater package. I'm trying to run the example provided in the function guide, in particular I would like to change the columns annotation colors. I've tried with columnannotationcolors parameter but the result is not good. This is my code:
example_sce <- mockSCE()
example_sce <- logNormCounts(example_sce)
colors <- list( Mutation_Status = c("positive" = "yellow", "negative" = "white"))
plotHeatmap(example_sce, features=rownames(example_sce)[1:10],
colour_columns_by=c("Mutation_Status"), column_annotation_colors = colors[1])
In what sense is the result "not good"? How does the result differ from what you expect/desire?