plot-EpivizEnvironment-ANY-method: Generic methods to plot charts and add navigation regions

Description Usage Arguments Examples

Description

Generic methods to plot charts and add navigation regions

Usage

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## 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)

briangottfried/epivizrChart documentation built on Aug. 2, 2021, 3:13 a.m.