Skip to content

Commit

Permalink
Align text and table
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Jun 30, 2024
1 parent d15ca70 commit c5be347
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 @@ -684,12 +684,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 c5be347

Please sign in to comment.