SpeciesMaps-class {MareyBase}R Documentation

Class "SpeciesMaps"

Description

This class is a collection of MareyMap for a given species. Not that useful on its own, it is used for internal organisation inside a MapCollection

Objects from the Class

Objects can be created by calls of the form new("SpeciesMaps", ...). Or using the function SpeciesMaps().

Slots

maps:
Object of class "list" containing all the MareyMap of the species.
speciesName:
Object of class "character" containing the name of the species

Methods

[
signature(x = "SpeciesMaps"): returns a map from the list
[[<-
signature(x = "SpeciesMaps", i = "ANY", j = "ANY", value = "MareyMap"): replaces a map in the list with a new one
[[
signature(x = "SpeciesMaps"): returns a map from the list.
$
signature(x = "SpeciesMaps"): access a map by name in the list.
+
signature(e1 = "SpeciesMaps", e2 = "MareyMap"): adds a map to the collection.
coerce
signature(from = "SpeciesMaps", to = "data.frame"): converts the specieMaps object into a data.frame.
mapNames
signature(object = "SpeciesMaps"): returns a vector containing the names of all the maps.
speciesName<-
signature(object = "SpeciesMaps", value = "character"): changes the name of the species. Also chnges the named of all MareyMap objects inside the list.
speciesName
signature(object = "SpeciesMaps"): returns the name of the species.

Author(s)

Clement Rezvoy <rezvoy@biomserv.univ-lyon1.fr>

See Also

MapCollection-class MareyMap-class

Examples

data(mareymaps)
spc <- mareymaps[["Homo sapiens (deCODE)"]]
speciesName(spc) <- "Human"
spc[["Chromosome 01"]]

[Package MareyBase version 0.9 Index]