create_clustersRegulome.RdThis function loads the selected cluster classification, selects the clusters present in coordinates
and adds the needed parameters for plotting.
create_clustersRegulome(coordinates, clusters_dataset, cluster_col = "dark green", genome = "hg19", path = "~/data/IRB/")
| coordinates | Either a   | 
    ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| clusters_dataset | Name of the enhncer cluster data to plot. The value should be one
of the defined below (column Dataset). Defaults to  
  | 
    ||||||||||||||||||
| cluster_col | Color for the clusters. Default: "dark green"  | 
    ||||||||||||||||||
| 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 clustersRegulome, which is basically a list with the following
        attributes:
name: Name of selected enhancer cluster dataset.
col: Character vector with the color of the enhancer clusters.
genome: Genome build.
coordinates: Selected coordinates to plot as a GRanges object.
value: GRanges object containing coordinates for the enhancer clusters and
                the class of the line that will be drawn.
moreArgs: Additional arguments, which include:
lwd: Information on the linewidth for each class of enhancer cluster feature.
if (FALSE) { clust <- create_clustersRegulome(coordinates="chr20:22461643-22666093", clusters_dataset="enhancerHubs", path="~/data/IRB_database/") }