CollapseCatalog | R Documentation |
Take a mutational spectrum or signature catalog that is based on a fined-grained set of features (for example, single-nucleotide substitutions in the context of the preceding and following 2 bases).
Collapse it to a catalog based on a coarser-grained set of features (for example, single-nucleotide substitutions in the context of the immediately preceding and following bases).
Collapse192CatalogTo96
Collapse an SBS 192 catalog
to an SBS 96 catalog.
Collapse1536CatalogTo96
Collapse an SBS 1536 catalog
to an SBS 96 catalog.
Collapse144CatalogTo78
Collapse a DBS 144 catalog
to a DBS 78 catalog.
Collapse192CatalogTo96(catalog)
Collapse1536CatalogTo96(catalog)
Collapse144CatalogTo78(catalog)
catalog |
A catalog as defined in |
A catalog as defined in ICAMS
.
# Create an SBS192 catalog and collapse it to an SBS96 catalog
object <- matrix(1, nrow = 192, ncol = 1,
dimnames = list(catalog.row.order$SBS192))
catSBS192 <- as.catalog(object, region = "transcript")
catSBS96 <- Collapse192CatalogTo96(catSBS192)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.