Description Usage Arguments Value Examples
View source: R/standard_tables.R
Generates count tables for different mutation type schemas which can be
used as input to the mutational signature discovery or prediction functions.
"SBS96"
generates a table for single base substitutions following the
standard 96 mutation types derived from the trinucleotide context.
"SBS192"
is the 96 mutation type schema with the addition of
transcriptional strand or replication strand information added to each base.
"DBS"
generates a table for the double base substitution schema
used in COSMIC V3. "Indel"
generates a table for insertions and
deletions following the schema used in COSMIC V3.
1 2 3 4 5 6 7 | build_standard_table(
musica,
g,
table_name,
strand_type = NA,
overwrite = FALSE
)
|
musica |
A |
g |
A BSgenome object indicating which genome reference the variants and their coordinates were derived from. |
table_name |
Name of standard table to build. One of |
strand_type |
Strand type to use in SBS192 schema. One of
|
overwrite |
If |
No object will be returned. The count tables will be automatically
added to the musica
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | g <- select_genome("19")
data(musica)
build_standard_table(musica, g, "SBS96", overwrite = TRUE)
data(musica)
annotate_transcript_strand(musica, "19")
build_standard_table(musica, g, "SBS192", "Transcript_Strand")
data(musica)
data(rep_range)
annotate_replication_strand(musica, rep_range)
build_standard_table(musica, g, "SBS192", "Replication_Strand")
data(dbs_musica)
build_standard_table(dbs_musica, g, "DBS")
data(indel_musica)
build_standard_table(indel_musica, g, table_name = "INDEL")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.