| homopolymerCorrection {transite} | R Documentation |
Counts all non-overlapping instances of k-mers in a given set of sequences.
homopolymerCorrection(sequences, k, kmers, is.rna = FALSE)
sequences |
character vector of DNA or RNA sequences |
k |
length of k-mer, either |
kmers |
column sums of return value of
|
is.rna |
if |
Returns a named numeric vector, where the elements are k-mer counts and the names are k-mers.
Other k-mer functions: calculateKmerEnrichment,
checkKmers,
computeKmerEnrichment,
drawVolcanoPlot,
empiricalEnrichmentMeanCDF,
generateKmers,
generatePermutedEnrichments,
permTestGeometricMean,
runKmerSPMA, runKmerTSMA