plot_coverage {DegNorm} | R Documentation

## Coverage plot functions for DegNorm

### Description

`plot_coverage` plots the before- and after-degradation coverage curves

### Usage

    plot_coverage(gene_name, coverage_output, degnorm_output, group=NULL)

### Arguments

`gene_name` | the name of the gene whose coverage coverage to be plotted.
`coverage_output` | CoverageClass object, the output from function `coverage_cal_batch`.
`degnorm_output` | DegNormClass object, the output from function `DegNorm`.
`group` | a vector of integers or character strings indicating the biological conditions of the samples. Coverage curves will be plotted in the same color for the same group. Default is NULL. By default all curves will plotted in different colors.

### Details

`plot_coverage` outputs the coverage curves before- and after-degradation normalization.

### Value

The coverage curve before and after degradation normalization.

### Examples

    ## gene named "SOD1",plot coverage curves
    data(coverage_res_chr21)
    data(res_DegNorm_chr21)
    plot_coverage(gene_name="SOD1", coverage_output=coverage_res_chr21,
    degnorm_output=res_DegNorm_chr21, group=c(0,1,1))

[Package DegNorm version 1.0.0 Index]