Description Usage Arguments Details Value Examples
View source: R/appendCdfEnvAffy.R
append probe sets to a CdfEnvAffy
1 | appendCdfEnvAffy(acdfenv, id, i, nocopy = TRUE)
|
acdfenv |
instance of class |
id |
identifier for the probe set to add |
i |
a |
nocopy |
whether to make a copy of the environment or not (see details) |
The matrix
i
must have one column per probe type. For
typical Affymetrix chip types, there are two probe types: "pm"
and "mm"
.
nocopy
set to TRUE
means that the environment is added
the probe set 'in-situ' (this can boost execution speed if you add a
lot of probe sets).
An CdfEnvAffy
is returned
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(cdfenvEx)
## pm and mm probe set
m <- matrix(1:10, ncol = 2)
colnames(m) <- c("pm", "mm")
appendCdfEnvAffy(cdfenvEx, "blabla", m)
indexProbes(cdfenvEx, c("pm", "mm"), "blabla")
## pm only probe set
m <- matrix(6:9, ncol = 1)
colnames(m) <- c("pm")
appendCdfEnvAffy(cdfenvEx, "blabla2", m)
## note that the unspecified "mm" were set to NA
indexProbes(cdfenvEx, c("pm", "mm"), "blabla2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.