Description Usage Arguments Details Examples

View source: R/evaluateCorrDecay.R

Plot correlation delay using subsampling

1 2 3 4 5 6 7 8 | ```
plotCorrDecay(
dfDist,
method = c("R", "Rsq"),
xlim = c(10, 1e+06),
n = 100,
outlierQuantile = 0.001,
densityExponent = 0.25
)
``` |

`dfDist` |
data.frame of distance and correlation from from evaluateCorrDecay() |

`method` |
on show either R or Rsq on y-axis |

`xlim` |
min and max values for x-axis |

`n` |
the number of equally spaced points at which the density is to be estimated. |

`outlierQuantile` |
show points if density is less than this quantile |

`densityExponent` |
color based on density^densityExponent |

Plot correlation versus log10 distance. Sample equal number of points for each bin along the x-axis.

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
library(GenomicRanges)
library(ggplot2)
data('decorateData')
# Evaluate hierarchical clustering
treeList = runOrderedClusteringGenome( simData, simLocation )
# Evaluate how correlation between features decays with distance
dfDist = evaluateCorrDecay( treeList, simLocation )
# make plot
plotCorrDecay( dfDist )
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.