sortByMutations: Sort Data by Mutation Type.

Description Usage Arguments Details Value Author(s) References Examples

View source: R/s03_all_functions.R

Description

Reorder a mutationSignatures, mutationCounts, data.frame, or matrix object by sorting entries by mutation type.

Usage

1

Arguments

x

an object storing mutation count data

Details

This function is part of the user-interface set of tools included in mutSignatures. This is an exported function.

Value

an object of the same class as x, with entries sorted according to mutation types.

Author(s)

Damiano Fantini, damiano.fantini@gmail.com

References

More information and examples about mutational signature analysis can be found here:

  1. GitHub Repo: https://github.com/dami82/mutSignatures/

  2. More info and examples about the mutSignatures R library: https://www.data-pulse.com/dev_site/mutsignatures/

  3. Sci Rep paper, introducing mutS: https://www.nature.com/articles/s41598-020-75062-0/

  4. Oncogene paper, Mutational Signatures Operative in Bladder Cancer: https://www.nature.com/articles/s41388-017-0099-6

Examples

1
2
3
A <- data.frame(S1=1:5, S2=5:1, S3=1:5)
rownames(A) <- c("A[A>T]G", "A[C>G]G", "T[A>T]G", "T[C>G]T", "T[C>G]G")
mutSignatures::sortByMutations(A)

mutSignatures documentation built on Nov. 9, 2020, 9:06 a.m.