getPosProb: Get the emission probabilities of nucleotides

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Get the emission probabilities of ACGT at each position of TFFM.

Usage

1
  getPosProb(tffm)

Arguments

tffm

A TFFMFirst object or a TFFMDetail object.

Details

This function calculates the probabilities of emitting nucleotides ACGT at each position of TFFM.

Value

A matrix of numeric with dimensions of 4 * ncol(tffm).

Author(s)

Ge Tan

See Also

getEmissionProb

Examples

1
2
3
4
5
6
7
8
9
  xmlFirst <- file.path(system.file("extdata", package="TFBSTools"),
                        "tffm_first_order.xml")
  tffmFirst <- readXMLTFFM(xmlFirst, type="First")
  getPosProb(tffmFirst)
  
  xmlDetail <- file.path(system.file("extdata", package="TFBSTools"),
                         "tffm_detailed.xml")
  tffmDetail <- readXMLTFFM(xmlDetail, type="Detail")
  getPosProb(tffmDetail)

TFBSTools documentation built on Nov. 8, 2020, 8:14 p.m.