Learn R Programming

beadarraySNP (version 1.38.0)

PolarTransforms: Polar transformations

Description

Perform polar transforms on Illumina Golden Gate bead arrays

Usage

RG2polar(object,trig=FALSE) polar2RG(object,trig=FALSE)

Arguments

object
SnpSetIllumina object
trig
Logical, use geometric distance intensity. Otherwise use addition of intensities

Value

This function returns an SnpSetIllumina object.

Details

RG2polar transforms the R and G matrices to theta and intensity matrices. Note that the intensity value is the sum of R and G and not the geometric distance to the origin. polar2RG performs the reverse transformation

See Also

SnpSetIllumina-class

Examples

Run this code
  data(chr17.260)
  data.polar<-RG2polar(chr17.260)
  plot(assayData(data.polar)$theta,assayData(data.polar)$intensity)

Run the code above in your browser using DataLab