count_nmer: Count n-mers in a given data set using Biostrings

View source: R/sequence.R

count_nmerR Documentation

Count n-mers in a given data set using Biostrings

Description

This just calls PDict() and vcountPDict() on a sequence database given a pattern and number of mismatches. This may be used by divide_seq() normalization.

Usage

count_nmer(genome, pattern = "ATG", mismatch = 0)

Arguments

genome

Sequence database, genome in this case.

pattern

Count off this string.

mismatch

How many mismatches are acceptable?

Value

Set of counts by sequence.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.