Learn R Programming

TFBSTools (version 1.10.3)

getEmissionProb: Get the emission distribution parameters.

Description

This function accesses the emission distribution parameters of the TFFM.

Usage

getEmissionProb(tffm)

Arguments

tffm
A TFFMFirst object or a TFFMDetail object.

Value

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

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.

See Also

getPosProb

Examples

Run this code
  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)

Run the code above in your browser using DataLab