getSNPMaP {SNPMaP}R Documentation

Get or set slots of a SNPMaP object

Description

Get or set the values of the slots in a SNPMaP object.

Usage

getSNPMaP(x, ...)
setSNPMaP(x, namedList)

Arguments

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).

Details

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().

Value

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()).

Warning

setSNPMaP() does not clone the data in SNPMaP objects stored on disk (see cloneSNPMaP().)

See Also

SNPMaP-class

Examples

## Not run: 
 ## Retrieve slot values
 getSNPMaP(x, 'experiment', 'snps')
 ## Set new slot values
 x <- setSNPMaP(x, list(useMM=TRUE, normalize=FALSE))
## End(Not run)

[Package SNPMaP version 1.0.2 Index]