Learn R Programming

gsrc (version 1.1)

geno_baf_rratio: Genotype with kmeans using three clusters

Description

Genotype with kmeans using three clusters

Usage

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

Run this code
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)
}

Run the code above in your browser using DataLab