predict_inheritance: predict the inheritance of a child's CNV from population and...

Description Usage Arguments Value Examples

Description

predict the inheritance of a child's CNV from population and family scores

Usage

1

Arguments

population

vector of Z scores of L2R for the parental population

family

list of Z scores for "mom", "dad" and "child"

Value

list of inheritance classification, and P values for the mother and father, where the values indicate how likely each parents data belongs to the uninherited cluster.

Examples

1
2
3
4
5
6
7
8
9
family = list("mom"=0, "dad"=0, "child"=5)
population = rnorm(100)
predict_inheritance(population, family)

family = list("mom"=NA, "dad"=NA, "child"=1)
population = rnorm(100)
predict_inheritance(population, family)
z_scores = list("population"=population, "mom"=NA, "dad"=NA, "child"=1)
predict_inheritance(z_scores)

jeremymcrae/cifer documentation built on May 19, 2019, 5:08 a.m.