wiggle_scatter_plot: To make a scatter plot comparison of two wiggle files

Description Usage Arguments Value Examples

Description

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:

  1. wiggle_scatter will extract the necessary information using wiggle_compress for all chromosomes

  2. wiggle_scatter_plot will make a simple .eps file of the results.

Written by Tovah Markowitz

Usage

1
wiggle_scatter_plot(scatter, method = "spearman")

Arguments

scatter

Input should be output of wiggle_scatter.

method

Method used to calculate correlation value on plot (same as for cor function). Defaults to "spearman".

Value

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.

Examples

1
2
3
4
5
6
## Not run: 
a <- wiggle_scatter(red1, hop1, 4000)

wiggle_scatter_plot(a)

## End(Not run)

luisvalesilva/hwglabr documentation built on May 21, 2019, 8:56 a.m.