Learn R Programming

ITALICS (version 2.32.0)

fromQuartetToSnp: Compute the copy number of each SNP from its quartets intensities

Description

This function removes the LogRatio column of the snpInfo data.frame. Then compute the copy number of each SNP having its quartet intensities. And return the snpInfo data.frame with the newly computed LogRatio.

Usage

fromQuartetToSnp(quartetInfo, snpInfo, cIntensity="quartetLogRatio", nLog=1)

Arguments

quartetInfo
A table containing the quartet intensities and other quartet information. It must have a column called : fsetid.
snpInfo
A table containing snp information.
cIntensity
A vector containing the names of the quartet information to be aggregate. For example quartetLogRatio.
nLog
The position of the field which will be named LogRatio in the snpInfo data.frame. For example if cIntensity = c("a", "b") and you want b to be considered as the LogRatio you should set nLog=2

Value

  • return the data.frame snpInfo with additionnal columns.

source

Institut Curie, italics@curie.fr.