Description Usage Arguments Value Author(s) Examples
This function extracts specified sample information from an object of PatCNVData-class
. The typical sample information could be "sample.name", "sample.type", and/or "subject.ID".
1 | sampleInfo(obj, sample.name = NULL, attrib = c("sample.name", "sample.type"))
|
obj |
an object of |
sample.name |
a character vector containing sample names. A value of NULL instructs the function to select all the samples |
attrib |
a character vector containing selected sample attributes. The typical sample information could be "sample.name", "sample.type", and/or "subject.ID". |
a data frame or a vector with given sample information attributes specified by attrib
Chen Wang
1 2 3 4 5 6 7 | #=== load a simulation example
config.filename <- 'sim1.ini'
makeSimulation(config.filename)
sim.session <- createSession(config.filename)
#=== print sample information
print(sampleInfo(sim.session))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.