geno_baf_rratio: Genotype with kmeans using three clusters

Description Usage Arguments Value Examples

Description

Genotype with kmeans using three clusters

Usage

1
geno_baf_rratio(dat, delthresh = 0.7, drop = FALSE, corr = FALSE)

Arguments

dat

List object, containing at least two matrices "intensity" and "theta". Or matrix with raw data.

delthresh

Numeric between 0 and 1. Intensity threshold for deletions.

drop

Logical, if TRUE theta and intensity values are removed to save memory.

corr

Logical, if TRUE all sample medians are corrected to 0.

Value

Genotypes

Examples

1
2
3
4
5
6
7
if(require(brassicaData)){
data("raw_napus", package = "brassicaData", envir = environment())

dat <- intens_theta(raw_napus)
dat <- remove_suffix(dat, "_Grn")
dat <- geno_baf_rratio(dat, delthresh = 11)
}

grafab/gsrc documentation built on May 17, 2019, 8:18 a.m.