mss: Compute matrix similarity score as described in MATCH...

Description Usage Arguments Examples

View source: R/pwm-functions.r

Description

Computes matrix similarity score of a PWM with a k-mer. Score ranges from 0-1, as described in [PMID: 12824369]

Usage

1
mss(seqs, pwm, na_rm = F, ignore_cent = T)

Arguments

seqs

Sequences to be scored

pwm

Position weight matrix

na_rm

Remove NA scores?

ignore_cent

If TRUE, central residue is ignore from scoring.

Examples

1
# No Examples

omarwagih/rmimp documentation built on May 18, 2020, 3:11 p.m.