Description Usage Arguments Details Value Author(s) References Examples
View source: R/s03_all_functions.R
Prepare a molten data.frame starting from a mutation count matrix. Mutation types (rows) are countes for each sample (cols). The results are returned in a 3-column data.frame.
1 | table2df(dataMatrix, rowLab = "sample", colLab = "feature", valueLab = "count")
|
dataMatrix |
a numeric matrix including mutation counts |
rowLab |
string, name for the column that will be storing row IDs, typically sample IDs |
colLab |
string, name for the column that will be storing column IDs, typically sample IDs |
valueLab |
string, name for the column that will be storing mutation count values |
This function is part of the user-interface set of tools included in mutSignatures. This is an exported function.
data.frame storing mutation counts by sample
Damiano Fantini, damiano.fantini@gmail.com
More information and examples about mutational signature analysis can be found here:
More info and examples about the mutSignatures R library: https://www.data-pulse.com/dev_site/mutsignatures/
Sci Rep paper, introducing mutS: https://www.nature.com/articles/s41598-020-75062-0/
Oncogene paper, Mutational Signatures Operative in Bladder Cancer: https://www.nature.com/articles/s41388-017-0099-6
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.