View source: R/helper_functions_for_sequences.R
compNucFreq | R Documentation |
Compute nucleotide frequencies for a reference genome and a region set.
compNucFreq(refGenome, regions=NULL, numBases=1, mergeByRevComp=TRUE)
refGenome |
Reference genome ( |
regions |
(Optional) Regions ( |
numBases |
(Optional) Sequence pattern length for which to compute frequencies (e.g., '3' for trinucleotides). Default: 1 (single nucleotides). |
mergeByRevComp |
(Optional) Reduce redundancy by merging counts
for reverse complement sequence patterns. This function allows this only
for sequence patterns with odd length (e.g., single nucleotides,
trinucleotides). Default: |
Vector of computed nucleotide frequencies
Rosario M. Piro
Politecnico di Milano
Maintainer: Rosario
M. Piro
E-Mail: <rmpiro@gmail.com> or <rosariomichael.piro@polimi.it>
http://rmpiro.net/decompTumor2Sig/
Krueger, Piro (2019) decompTumor2Sig: Identification of mutational
signatures active in individual tumors. BMC Bioinformatics
20(Suppl 4):152.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.