combine_count_tables {musicatk} | R Documentation |
Combines tables into a single table that can be used for discovery/prediction
combine_count_tables( musica, to_comb, name, description = character(), color_variable = character(), color_mapping = character(), overwrite = FALSE )
musica |
A |
to_comb |
A vector of table names to combine. Each table must already exist within the input musica object |
name |
Name of table build, must be a new name |
description |
Description of the new table |
color_variable |
Annotation column to use for coloring plotted motifs, provided by counts table from input result's musica object |
color_mapping |
Mapping from color_variable to color names, provided by counts table from input result's musica object |
overwrite |
Overwrite existing count table |
None
g <- select_genome("19") data(musica) build_standard_table(musica, g, "SBS96", overwrite = TRUE) annotate_transcript_strand(musica, "19") build_standard_table(musica, g, "SBS192", "Transcript_Strand") combine_count_tables(musica, c("SBS96", "SBS192_Trans"), "combo")