ct.ecdf {gCrisprTools} | R Documentation

## Generate a cumulative tally of reads by guide rank

### 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

    ct.ecdf(vector)

### 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

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

[Package gCrisprTools version 1.20.0 Index]