appendCdfEnvAffy {altcdfenvs} | R Documentation |
append probe sets to a CdfEnvAffy
appendCdfEnvAffy(acdfenv, id, i, nocopy = TRUE)
acdfenv |
instance of class CdfEnvAffy |
id |
identifier for the probe set to add |
i |
a matrix of indexes (see details) |
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
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")