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

col_side_color usage with a dataframe #306

Closed
steven-bioinfo opened this issue Apr 10, 2024 · 1 comment
Closed

col_side_color usage with a dataframe #306

steven-bioinfo opened this issue Apr 10, 2024 · 1 comment

Comments

@steven-bioinfo
Copy link

Dear,

I want to add a col_side_color to my heatmap but when i add this option I haven't this side on my plot.

heatmaply(data,
        dendrogram = "column",
        main = "Heatmap",
        showticklabels = c(TRUE, FALSE),
        file = "demo_heatmap.html",
        col_side_color = metadata
)

data and metadata are two distinct dataframe. The row index of metadata map with the column index of data.

image

How I can do to view this metadata informations in the heatmap column side?

Thanks for our help,

Steven

@steven-bioinfo
Copy link
Author

the arguments is col_side_colors and not col_side_color.

They didn't have an error message when a false argument is given.

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

No branches or pull requests

1 participant