Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove row_side_colors text? #297

Closed
marwa38 opened this issue Aug 29, 2023 · 2 comments
Closed

remove row_side_colors text? #297

marwa38 opened this issue Aug 29, 2023 · 2 comments

Comments

@marwa38
Copy link

marwa38 commented Aug 29, 2023

Could you please add an argument or make default to remove the text "row_side_colors"

my code

heatmaply(diffGenes,
          colors = myheatcolors3,
          Rowv=as.dendrogram(clustRows),
          RowSideColors=module.color,
          #showticklabels=c(FALSE,FALSE),
          scale='row',
          cexRow = 0.4,
          file = "heatmap_both_distal_kallisto.html")

here is the screenshot pointing out the place where it is.
image

@marwa38
Copy link
Author

marwa38 commented Aug 29, 2023

heatmap_down_distal.zip

@alanocallaghan
Copy link
Collaborator

You just need to make RowSideColors a dataframe with names

heatmaply(diffGenes,
          colors = myheatcolors3,
          Rowv=as.dendrogram(clustRows),
          RowSideColors=data.frame("the name that I want to display" = module.color, check.names=TRUE),
          #showticklabels=c(FALSE,FALSE),
          scale='row',
          cexRow = 0.4,
          file = "heatmap_both_distal_kallisto.html")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants