Closed lh12565 closed 1 month ago
Hi, I create a ngchm file to view my heatmap. I want a certain bar to be hidden by default, and then appear after the user checks it (such as "type" as below). How to achieve it? Thanks!
hm <- chmNew('tcga-brca', TCGA.BRCA.ExpressionData) covariateBar1 <- chmNewCovariate('TP53 Mutation',TCGA.BRCA.TP53MutationData) hm <- chmAddCovariateBar(hm, 'column', covariateBar1) covariateBar2 <- chmNewCovariate('type',type) hm <- chmAddCovariateBar(hm, 'column', covariateBar2) chmExportToFile(hm,'tcga-brca-covariates.ngchm')
Add display="hidden" to the end of the second chmAddCovariateBar function call.
display="hidden"
chmAddCovariateBar
Closing after discussion.
Hi, I create a ngchm file to view my heatmap. I want a certain bar to be hidden by default, and then appear after the user checks it (such as "type" as below). How to achieve it? Thanks!