data.trans: Initialize parameters

Description Usage Arguments Value

View source: R/initialvalue.R

Description

A function to find the initial value for the parameters in Bayesian HMM model.

Usage

1

Arguments

data

A dataframe returned by data.prep function.

Value

A list contains the following elements:

inputHMM

a dataframe with 5 columns, i.e., SNP indexes, genomic position of each SNP, the logit transformation of ASE ratioes for two groups, and the distance between two adjecent SNPs.

initial

a list contain the initial values of parameters in the Bayesian HMM model.


JingXieMIZZOU/hmmASE documentation built on Dec. 31, 2019, 12:52 a.m.