pr: pr

Description Usage Arguments Value Examples

View source: R/pr.R

Description

From a profile return the probability a DNA sequence fits from the profile

Usage

1
pr(txt, profile)

Arguments

txt

A character string reprenting the DNA sequence in question.

profile

A matrix representing the probability of each nucleuotide in specific locations

Value

A number value of the probability of the txt sequence based on the profile matrix

Examples

1
pr("ACTG",sampleProfile)

Ant-nguyen/RmuMotif documentation built on Jan. 13, 2022, 5:17 p.m.