Learn R Programming

NSA (version 0.0.2)

sampleNByTotalAndFracB.numeric: Normalize total copy numbers by samples (total,fracB)

Description

Normalize total copy numbers by samples (total,fracB), where total is the total (non-polymorphic) signal and fracB is the allele B fraction. It is only loci with a non-missing (NA) fracB value that are considered to be SNPs and normalized by NSA. The other loci are left untouched.

Usage

## S3 method for class 'numeric':
sampleNByTotalAndFracB(data, references=NULL, ..., verbose=FALSE)

Arguments

data
An J numeric vector, where J is the number of loci for an specific sample.
references
An object specifying the normal regions of each sample.
...
Additional arguments passed to fitSNPsN.
verbose
See Verbose.

Value