Description Usage Arguments Value Examples
View source: R/plot_functions.R
Visualize the MD plot before and after loess normalization
1 |
M |
The M component of the MD plot. Available from the hic.table object. |
D |
The D component of the MD plot. The unit distance of the interaction. Available from the hic.table object. |
mc |
The correction factor. Calculated by |
An MD plot.
1 2 3 4 5 6 7 8 | # Create hic.table object using included Hi-C data in sparse upper
# triangular matrix format
data('HMEC.chr22')
data('NHEK.chr22')
hic.table <- create.hic.table(HMEC.chr22, NHEK.chr22, chr = 'chr22')
# Plug hic.table into hic_loess()
result <- hic_loess(hic.table)
MD.plot1(result$M, result$D, result$mc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.