getCanonicalLines: Regression lines on canonical points with same number of...

Description Usage Arguments Value Author(s) Examples

Description

This function performs linear regression on canonical points with same number of minor alleles. This is an approximation of the real data grid to achieve faster computational speed.

Usage

1
getCanonicalLines(oo, p, type = 1, para)

Arguments

oo

Origin Cluster, returned by getOrigin()

p

numeric, AGP value. see getGrid() for details.

type

integer, ploidy indicator. 1, diploid; 2, tetraploid; 3, hexaploid

para

list, parameters returned from getPara()

Value

A list including the following elements:

b

slope of the line

k

intercept of the line

oo

Origin Cluster

Author(s)

Bo Li

Examples

1
2
3
4
5
oo=NULL
oo$x0=0.02
oo$y0=0.1
oo$list=c()
cali=getCanonicalLines(oo,0.8,para=getPara())


Search within the CHAT package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.