plotDistances {beadarray} | R Documentation

## Plot the distances between a set of co-ordinates

### Description

The function calculates the distance matrix for a set of co-ordinates and plots in the form of a histogram. The input co-ordinates could be the co-ordinates for a particular bead type on an array.

### Usage

    plotDistances(coords)

### Arguments

`coords` | n by 2 vector where first column is list of x co-ordinates and second column is list of y co-ordinates

### Details

A histogram is produced with the mean of the distance matrix indicated in red. A normal distribution with mean = 650 and sd =350 is overlayed.

### Value

Plot is produced on the current graphical device

### Author(s)

Mark Dunning

### See Also

`getProbeCoords`

### Examples

    data(BLData)
    co=getProbeCoords(BLData, 2, 1)
    plotDistances(co)

[Package beadarray version 1.0.0 Index]