We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4350a1a commit 6f119d3Copy full SHA for 6f119d3
src/bcf/report/oncoprint.rs
@@ -623,7 +623,7 @@ pub fn oncoprint(
623
624
specs["datasets"] = values;
625
// Set allele frequency heatmap width according to number of samples
626
- specs["vconcat"][1]["hconcat"][5]["width"] = json!(max(samples.len() * 20, 60));
+ specs["vconcat"][1]["hconcat"][5]["width"] = json!(max(unique_samples * 20, 60));
627
if !cs_present_folded || remove_existing_variation {
628
let hconcat = specs["vconcat"][1]["hconcat"].as_array_mut().unwrap();
629
match (!cs_present_folded, remove_existing_variation) {
0 commit comments