gpr <- system.file("extdata", package="PAA")
targets <- list.files(system.file("extdata", package="PAA"),
pattern = "dummy_targets", full.names=TRUE)
elist <- loadGPR(gpr.path=gpr, targets.path=targets, array.type="ProtoArray")
# Example showing how to use the arguments description, description.features and
# description.discard in order to construct a makeshift column 'Description'
# for gpr files without this column. Please see also the exemplary gpr files
# coming with PAA.
targets2 <- list.files(system.file("extdata", package="PAA"),
pattern = "dummy_no_descr_targets", full.names=TRUE)
elist2 <- loadGPR(gpr.path=gpr, targets.path=targets2, array.type="other",
description="Name", description.features="^Hs~", description.discard="Empty")
Run the code above in your browser using DataLab