create_mapsRegulome.Rd
This function loads chromatin maps, obtains the classes present in coordinates
and adds
the needed parameters for plotting.
create_mapsRegulome(coordinates, maps_dataset, genome = "hg19", path = "~/data/IRB/")
coordinates | Either a |
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
maps_dataset | Name of the chromatin maps to plot. The value should be one
of the defined below (column Dataset). Defaults to
|
|||||||||||||||
genome | Character string indicating the genome for the coordinates. Default: hg19. |
|||||||||||||||
path | Path containing the genomes folder (for example "hg19"). Default: "~/data/IRB/" |
An object of class mapsRegulome
, which is basically a list with the following
attributes:
name: Name of selected chromatin map dataset.
col: Named vector with the color of each type of chromatin class.
genome: Genome build.
coordinates: Selected coordinates to plot as a GRanges
object.
value: GRanges
object containing coordinates and type of chromatin class.
moreArgs: Additional arguments, which are empty.
if (FALSE) { maps <- create_mapsRegulome(coordinates="chr20:22461643-22666093", maps_dataset="openChromatinClasses", path="~/data/IRB_database/") }