A function used to calculate and return the PFSM (Position Specific Frequency Matrix) for a K-mer table of length
sample. If an
offset value is provided, K-mer counting takes place at a fixed position within the variable region.
A sample handle to the dataset on which K-mer counting should be perfomed.
K-mer length(s) to be counted.
Location of window for which K-mers should be counted for. If not provided, K-mers are counted across all windows.
A K-mer table will be constructed for the specified
offset if it does not already exist.
The output can be used by the
seqLogo package to create a sequence logo.
selex.kmerPSFM returns a matrix containing the frequences for each base at every position.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.