revCompl | R Documentation |
Transform a DNA sequence into its reverse-complement sequence. ALternatively, only the reverse sequence (or only the complement) can be returned.
revCompl(DNAseq, rev = TRUE, compl = TRUE)
DNAseq |
character vector of DNA sequences |
rev |
logical, shall the reverse sequence be computed |
compl |
logical, shall the complementary sequence be computed |
This function is part of the user-interface set of tools included in mutSignatures. This is an exported function.
a character vector including transformed DNA sequences
Damiano Fantini, damiano.fantini@gmail.com
More information and examples about mutational signature analysis can be found here:
Official website: http://www.mutsignatures.org
More info and examples about the mutSignatures R library: https://www.data-pulse.com/dev_site/mutsignatures/
Oncogene paper, Mutational Signatures Operative in Bladder Cancer: https://www.nature.com/articles/s41388-017-0099-6
A <- c("TAACCG", "CTCGA", "CNNA") mutSignatures::revCompl(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.