Learn R Programming

xps (version 1.32.0)

getNameType: Get Chip Name and Type

Description

Get chip name and type from ROOT scheme file.

Usage

getNameType(rootfile)

Arguments

rootfile
name of ROOT scheme file, including full path.

Value

a list with parameters:
chipname
chip name.
chiptype
chip type, either ‘GeneChip’ or ‘ExonChip’.

Details

Extracts the chip name and type directly from ROOT scheme file rootfile.

See Also

getChipName, getChipType

Examples

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

Run the code above in your browser using DataLab