Learn R Programming

mutSignatures (version 1.2)

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)

Arguments

genomes

a numeric matrix of Mutation Counts. Rows correspond to Mutation Types, columns to different samples

Value

a numeric matrix of Mutation Counts. Rows correspond to Mutation Types, columns to different samples

References

More info at: http://www.biotechworld.it/bioinf/2017/01/22/mutsignatures/

Examples

Run this code
# NOT RUN {
tmp <- getTestRunArgs()
extractSignatures(mutCountMatrix = tmp$mutCount.obj$mutCounts[1:10,1:3], params = tmp$params)
# }

Run the code above in your browser using DataLab