ct.ecdf: Generate a cumulative tally of reads by guide rank

Description Usage Arguments Value Author(s) Examples

Description

This function returns a numeric vector of the same length as the input, where each element n contains the proportion the sum of the full vector that is captured by its first 1-n elements (arranged in descending order).

Usage

1

Arguments

vector

An input numeric vector to be aggregated.

Value

A CDF plot displaying the appropriate CDF curves on the default device.

Author(s)

Russell Bainer

Examples

1
2
v <- sort(sample(1:100, 30, replace = TRUE, 100:1))
ct.ecdf(v)


Search within the gCrisprTools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.