getEmissionProb: Get the emission distribution parameters.

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

Description

This function accesses the emission distribution parameters of the TFFM.

Usage

1

Arguments

tffm

A TFFMFirst object or a TFFMDetail object.

Details

This function accesses the emission distribution parameters for each position of the TFFM. It returns the probability of emitting certain nucleotide based on the nucleotide on the previous site.

Value

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

Author(s)

Ge Tan

See Also

getPosProb

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")
  getEmissionProb(tffmFirst)
  
  xmlDetail <- file.path(system.file("extdata", package="TFBSTools"),
                         "tffm_detailed.xml")
  tffmDetail <- readXMLTFFM(xmlDetail, type="Detail")
  getEmissionProb(tffmDetail)

ge11232002/TFBSTools documentation built on Sept. 12, 2021, 12:07 p.m.