Plot density of markers in non-overlaping intervals of given size

plot_mrk_density(coords, w = 1000, plot = F)

Arguments

coords

- coordinates of all markers

w

- window (interval) size, e.g. 1000 for 1kb

plot

- a logical indicating whether to plot density

Value

a vector of densities

Author

Marcin Kierczak