Main.function: Main function to estimate the parameters in our model

Description Usage Arguments Value Author(s) Examples

Description

Sample data and SNP pattern data are needed. After loading the data with an appropriate format, this function can generate the results directly.

Usage

1

Arguments

Sample

The data for sample. The data should follow the format of our sample data. See data(Sample) more detailed format.

SNP.Pattern

The data for SNP pattern. The data should follow the format of our SNP pattern data.See data(SNP.Pattern) for more detailed format.

Value

No values returned. A text file for all the betas value will be generated in the current folder.

Author(s)

Sandeep J. Joseph and Ben Li

Examples

1
2
3
4
5
6
7
##Load sample data
data(Sample)
##Load SNP pattern data
data(SNP.Pattern)
## Or specify your own data
##Run the main function
Main.function(Sample,SNP.Pattern) 

benliemory/BinStrain documentation built on May 12, 2019, 12:14 p.m.