getNameType: Get Chip Name and Type

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/utils.R

Description

Get chip name and type from ROOT scheme file.

Usage

1
getNameType(rootfile)

Arguments

rootfile

name of ROOT scheme file, including full path.

Details

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

Value

a list with parameters:

chipname

chip name.

chiptype

chip type, either ‘GeneChip’ or ‘ExonChip’.

Author(s)

Christian Stratowa

See Also

getChipName, getChipType

Examples

1
2
3
4
## correct usage
getNameType(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
## incorrect usage
getNameType(paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))

xps documentation built on Nov. 1, 2018, 2:29 a.m.