Learn R Programming

xps (version 1.32.0)

getChipType: Get Chip Type

Description

Get chip type from ROOT scheme file.

Usage

getChipType(rootfile)

Arguments

rootfile
name of ROOT scheme file, including full path.

Value

a character with the chip type, either ‘GeneChip’ or ‘ExonChip’.

Details

Extracts the chip type directly from ROOT scheme file rootfile.

See Also

getChipName, getNameType

Examples

Run this code
## correct usage
getChipType(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
## incorrect usage
getChipType(paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))

Run the code above in your browser using DataLab