Description Usage Arguments Details Value
View source: R/reference_signatures_as_matrix.R
Converts a data frame of reference signature data to the matrix form.
1 | reference_signatures_as_matrix(reference_signatures, mutation_catalog)
|
reference_signatures |
Reference mutation signature as output by get_reference_signatures() |
mutation_catalog |
A mutation catalog with mutation types matching those of the reference signatures. This catalog is used only to order the rows of the output matrix such that they correspond with the mutation type order in mutation_catalog. |
When generating the matrix, a mutation catalog is required. Because the matrix output does not have a mutation_type column, the matrix rows are arranged so that mutation types match the order of the provide mutation catalog. This way, the matrix output can immediately in correspondence with the provided mutation catalog.
A matrix with named columns, one for each signature.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.