revCompl: Compute Reverse Complement sequences.

Description Usage Arguments Details Value Author(s) References Examples

Description

Transform a DNA sequence into its reverse-complement sequence. ALternatively, only the reverse sequence (or only the complement) can be returned.

Usage

1
revCompl(DNAseq, rev = TRUE, compl = TRUE)

Arguments

DNAseq

character vector of DNA sequences

rev

logical, shall the reverse sequence be computed

compl

logical, shall the complementary sequence be computed

Details

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

Value

a character vector including transformed DNA sequences

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
A <- c("TAACCG", "CTCGA", "CNNA")
mutSignatures::revCompl(A)

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