getSNPMaP {SNPMaP} | R Documentation |
Get or set the values of the slots in a SNPMaP
object.
getSNPMaP(x, ...) setSNPMaP(x, namedList)
x |
An object of class SNPMaP . |
namedList |
A list of the form list(useMM=TRUE, normalize=FALSE) ; the exact name of a slot followed by the new value. |
... |
Slots to retrieve data from (may be partial matches). |
Currently, getSNPMaP()
will retrieve the values of the following slots: useMM, normalize, logInt, summary,
lowMemory, tempDir, table, chiptype, celDim, set, snps, chps, cols, width, transformation, experiment,
created, version, majorHistory
. setSNPMaP()
will set the following slots: useMM, normalize, logInt, summary,
lowMemory, tempDir, set, experiment
. Comments can be retrived and set using comment()
.
For getSNPMaP()
, a named list of slot values (suitable as an argument for setSNPMaP()
).
For setSNPMaP()
, a named list of the old slot values (suitable as an argument for setSNPMaP()
).
setSNPMaP()
does not clone the data in SNPMaP
objects stored on disk (see cloneSNPMaP()
.)
## Not run: ## Retrieve slot values getSNPMaP(x, 'experiment', 'snps') ## Set new slot values x <- setSNPMaP(x, list(useMM=TRUE, normalize=FALSE)) ## End(Not run)