plot,EpivizEnvironment,ANY-method {epivizrChart} | R Documentation

## Generic methods to plot charts and add navigation regions

### Description

Generic methods to plot charts and add navigation regions

### Usage

    ## S4 method for signature 'EpivizEnvironment,ANY'
    plot(x, y, ...)

### Arguments

`x` | an object of type `EpivizEnvironment` or `EpivizNavigation`
`y` | a genomic data object
`...` | other parameters for the plot method

### Examples

    ## Not run:
    library(epivizrChart)
    library(Homo.sapiens)
    require(magrittr)

    # example data set
    data(sumexp)
    # create an environment element
    epivizEnv <- epivizEnv()

    # chain and add navigation regions and plots.
    epivizEnv %>%
    plot(sumexp, datasource_name="sumExp", columns=c("cancer", "normal")) %>%
    append_region(chr="chr11", start=118000000, end=121000000) %>%
    plot(sumexp, datasource_name="sumExp", columns=c("normal", "cancer"))
    epivizEnv

    ## End(Not run)

[Package epivizrChart version 1.16.0 Index]