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

Description Usage Arguments Value Author(s) Examples

View source: R/getCanonicalLines.R

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())

CHAT documentation built on May 29, 2017, 10:32 p.m.