Skip to content

Commit

Permalink
[GEN-1299] align col names (#571)
Browse files Browse the repository at this point in the history
* Remove panel overlap charts

* Align text and table
  • Loading branch information
thomasyu888 authored Aug 15, 2024
1 parent 238970f commit 9295c5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/dashboardTemplate.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -645,12 +645,12 @@ if (!is.null(assay_infodf) & !is.null(this_bed)) {
num_submitted_genes = colSums(submitted_bool_per_panel)
colnames(number_of_genes) = "num_genes_remapped"
number_of_genes$num_genes_submitted = NA
number_of_genes$num_expected_genes = NA
number_of_genes$num_genes_expected = NA
number_of_genes[names(num_submitted_genes), "num_genes_submitted"] = num_submitted_genes
number_of_genes[assay_infodf$SEQ_ASSAY_ID, "num_expected_genes"] = assay_infodf$number_of_genes
number_of_genes[assay_infodf$SEQ_ASSAY_ID, "num_genes_expected"] = assay_infodf$number_of_genes
different_from_expected = number_of_genes[c(which(number_of_genes$num_genes_remapped != number_of_genes$num_expected_genes),
which(is.na(number_of_genes$num_expected_genes))),]
different_from_expected = number_of_genes[c(which(number_of_genes$num_genes_remapped != number_of_genes$num_genes_expected),
which(is.na(number_of_genes$num_genes_expected))),]
kable(different_from_expected,
caption = "Number of submitted vs expected genes in a bed file")
}
Expand Down

0 comments on commit 9295c5c

Please sign in to comment.