bootstrapCancerGenomes: Bootstrap a Mutation Count Matrix.
Description
Rearrange a Mutation count Matrix using the multivariate normal distribution.
The function returns a bootstrapped Mutation Count matrix whose dimensions
are identical to the input matrix.
Usage
bootstrapCancerGenomes(genomes, seed = NULL)
Arguments
genomes
a numeric matrix of Mutation Counts.
Rows correspond to Mutation Types, columns to different samples.
seed
integer, set a seed to obtain reproducible results. Defaulted to NULL
Value
a numeric matrix of bootstrapped Mutation Counts.
Rows correspond to Mutation Types, columns to different samples.
Details
This is one of the core functions included in the original mutSignatures R library,
and in the WTSI MATLAB framework. This is an internal function.
References
More information and examples about mutational signature analysis can be found here: