makeCoOccHeatmaps.Rd
Create heatmaps using the ComplexHeatmap package (one version with all mutated sequences and one version with sequences with high-risk mutations); heatmaps are colored according to whether an assay is affected by mutated sequences
makeCoOccHeatmaps(
DB,
startDate = NULL,
endDate = NULL,
archiveDBFile = NULL,
saveTable = FALSE,
saveFolder = NULL,
all_width = NULL,
all_height = NULL,
hr_width = NULL,
hr_height = NULL,
counts_font_size = NULL
)
File path to subset database file. In the case of making summary tables, we use the
3M version from CoMIT, returned from pull_subset_DB()
start date for subset DB, if NULL then the .1 percent analysis won't be run
end date for subset DB, if NULL then the .1 percent analysis won't be run
File path to archive db (used to retrieve older subset of data for comparison; older subset uses same length of time as input subset db, e.g. start_date is "2022-5" and end_date is "2022-07", then older subset start date is "2022-02 and "2022-04)
logical value indicating whether to save the tables to the specified saveFolder; # NOTE: It is easiest to always set saveTable to TRUE. If it is set to FALSE, there is a chance the legend will be cut off, and the user will have to adjust the proportions in the Plots pane for each table before group_block_anno is run. There is a pause in execution added to the code right before the subtitle is added in order to give the user time to do this.
file path containing folder the finished tables will be saved in
width of cells for heatmap showing combinations for all mutations
height of cells for heatmap showing combinations for all mutations
width of cells for heatmap showing combinations for high-risk mutations
height of cells for heatmap showing combinations for high-risk mutations
font size for counts at the bottom of the bar chart