View source: R/wiggle_scatter_plot.R
wiggle_scatter_plot | R Documentation |
This function is designed to work with function wiggle_scatter
to
allow for an overall generalized comparison of two data sets.
Great for comparing replicates, checking controls, etc.
The two functions are used as follows:
wiggle_scatter
will extract the necessary information using
wiggle_compress
for all chromosomes
wiggle_scatter_plot
will make a simple .eps file of the results.
Written by Tovah Markowitz
wiggle_scatter_plot(scatter, method = "spearman")
scatter |
Input should be output of |
method |
Method used to calculate correlation value on plot (same as for
|
Output is an .eps file with file name and axis names determined by columns of input data frame. The function is written so that the x-axis and the y-axis have the same range.
## Not run:
a <- wiggle_scatter(red1, hop1, 4000)
wiggle_scatter_plot(a)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.