combine_count_tables: Combines tables into a single table that can be used for...

View source: R/table_utils.R

combine_count_tablesR Documentation

Combines tables into a single table that can be used for discovery/prediction

Description

Combines tables into a single table that can be used for discovery/prediction

Usage

combine_count_tables(
  musica,
  to_comb,
  name,
  description = character(),
  color_variable = character(),
  color_mapping = character(),
  overwrite = FALSE
)

Arguments

musica

A musica object.

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

Value

None

Examples

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")

campbio/musicatk documentation built on July 14, 2024, 8:28 a.m.