plot_ers: Plot Expressed regions

Description Usage Arguments Value Examples

View source: R/plot-ERs.R

Description

Plots the median deltas and the number of ERs with a delta of 0 against the MCCs on two separate graphs with a line for each of the various MRGs.

Usage

1
plot_ers(ers_delta, opt_mcc_mrg)

Arguments

ers_delta

tibble/dataframe containing summarised delta values. One row per set of ERs.

opt_mcc_mrg

vector containing the optimum mcc and mrg, in that order

Value

Plot of MCC against median delta and number of ERS with a delta of 0

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(gtex_SRP012682_SRX222703_lung_erdelta_1, package = "ODER")

eg_plots <- plot_ers(
    ers_delta = gtex_SRP012682_SRX222703_lung_erdelta_1, opt_mcc_mrg = c(
        "mcc_10",
        "mrg_20"
    )
)

eg_plots

eolagbaju/ODER documentation built on Dec. 20, 2021, 5:21 a.m.