geno_baf_rratio: Genotype with kmeans using three clusters

Description Usage Arguments Value Examples

View source: R/process.R

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

Example output

Loading required package: brassicaData
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'brassicaData'

gsrc documentation built on May 30, 2017, 4:16 a.m.