plot_coverage | R Documentation |
plot_coverage
plots the before- and after-degradation coverage curves
plot_coverage(gene_name, coverage_output, degnorm_output, group=NULL, samples=NULL)
gene_name |
the name of the gene whose coverage coverage to be plotted. |
coverage_output |
CoverageClass object, the output from function
|
degnorm_output |
DegNormClass object, the output from function
|
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. |
samples |
a string vector for the subset of samples to be plotted. NULL means all samples to be plotted. The length of samples must be of the same length of group if both specified. |
plot_coverage
outputs the coverage curves before- and after-degradation
normalization.
The coverage curve before and after degradation normalization.
## 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.