The affy package options are contained in the Bioconductor options.
The options are:
use.widgets: a logical used to decide on the default of
widget use.
compress.cel: a logical
compress.cdf: a logical
probes.loc: a list. Each element of the list is it self a
list with two elements what and where. When looking for
the informations about the locations of the probes on the array, the
elements in the list will be looked at one after the other. The first
one for which what and where lead to the matching
locations information is used. The element what can be one of
package, environment or file. The element where
depends on the corresponding element what.
if package: location for the package (like it would be for
the argument lib.loc for the function library.)
if environment: an environment to look for the
information (like the argument env for the function get).
if file: a character with the path in which a CDF
file can be found.
Examples
## get the options
opt <- getOption("BioC")
affy.opt <- opt$affy
## list their names
names(affy.opt)
## set the option compress.cel
affy.opt$compress.cel <- TRUE
options(BioC=opt)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(affy)
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, cbind, colnames, do.call, duplicated, eval, evalq,
get, grep, grepl, intersect, is.unsorted, lapply, lengths, mapply,
match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank,
rbind, rownames, sapply, setdiff, sort, table, tapply, union,
unique, unsplit
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/affy/affy-options.Rd_%03d_medium.png", width=480, height=480)
> ### Name: affy-options
> ### Title: Options for the affy package
> ### Aliases: affy-options
> ### Keywords: manip
>
> ### ** Examples
>
> ## get the options
> opt <- getOption("BioC")
> affy.opt <- opt$affy
>
> ## list their names
> names(affy.opt)
[1] "compress.cdf" "compress.cel" "use.widgets" "probesloc"
[5] "bgcorrect.method" "normalize.method" "pmcorrect.method" "summary.method"
[9] "xy.offset"
>
> ## set the option compress.cel
> affy.opt$compress.cel <- TRUE
> options(BioC=opt)
>
>
>
>
>
> dev.off()
null device
1
>