sampleNum: Number of samples

Description Usage Arguments Value Author(s) See Also Examples

Description

This function gets number of samples from an object of PatCNVSession-class or PatCNVData-class

Usage

1
sampleNum(obj)

Arguments

obj

an object of PatCNVSession-class or PatCNVData-class

Value

Number of samples in corresponding object

Author(s)

Chen Wang

See Also

retrieve sample information sampleInfo

Examples

1
2
3
4
5
6
7
#=== load a simulation example
config.filename <- 'sim1.ini'
makeSimulation(config.filename)
sim.session <- createSession(config.filename)

#=== print number of samples
cat("total number of samples:",sampleNum(sim.session),"\n")

hshdndx/new-to-CNV documentation built on May 17, 2019, 5:55 p.m.