Description Usage Arguments Value Warning Author(s) See Also Examples
This function allows the user to store any type of supplementaty information in
an object of class "rCGH"
.
1 2 |
object |
: An object of class |
item |
: character. An item name to store. Default is |
value |
: any. A value to store. |
An object of class "rCGH"
When either item
or value
is NULL
, an error is returned.
Frederic Commo
1 2 3 4 5 6 7 8 9 10 11 12 13 | filePath <- system.file("extdata", "Affy_cytoScan.cyhd.CN5.CNCHP.txt.bz2",
package = "rCGH")
cgh <- readAffyCytoScan(filePath, sampleName = "AffyScHD")
# When supplementary information is added,
# numerical, logical, or strings are supported
setInfo(cgh, "someItem1") <- 35
setInfo(cgh, "someItem2") <- TRUE
setInfo(cgh, "someItem3") <- "someComment"
getInfo(cgh)
# or to get back specific items
getInfo(cgh, c("someItem1", "someItem3"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.