Learn R Programming

MareyMap (version 1.3.1)

MapSet-class: Class "MapSet"

Description

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

Arguments

Objects from the Class

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

Slots

maps:
Object of class "list" containing all the MareyMap of the set.
setName:
Object of class "character" containing the name of the set

Methods

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

See Also

MapCollection-class MareyMap-class

Examples

Run this code
data(Homo_sapiens_mean)
set <- Homo_sapiens_mean
setName(set) <- "Human"
set[["Chromosome 01"]]

Run the code above in your browser using DataLab