Description Usage Arguments Value Author(s) Examples

Given a set of targets of interest, this function generates a ROC curve and associated statistics from the results of a CRISPR screen. Specifically, it orders the elements targeted in the screen by the specified statistic, and then plots the cumulative proportion of positive hits on the y-axis. The corresponding vextors and Area Under the Curve (AUC) statistic are returned as a list.

Note that ranking statistics in CRISPR screens are (usually) permutation-based, and so some granularity is expected. This function does a little extra work to ensure that hits are counted as soon as the requisite value of the ranking statistic is reached regardless of where the gene is located within the block of equally-significant genes. Functionally, this means that the drawn curve is somewhat anticonservative in cases where the gene ranks are not well differentiated.

1 2 3 |

`summaryDF` |
A dataframe summarizing the results of the screen, returned by the function |

`target.list` |
A character vector containing the names of the targets to be tested. Only targets contained in the |

`stat` |
The statistic to use when ordering the genes. Must be one of |

`condense` |
Logical indicating whether the returned x and y coordinates should be "condensed", returning only the points at which
the detected proportion of |

`plot.it` |
Logical value indicating whether to plot the curves. |

A list containing the the x and y coordinates of the curve, and the AUC statistic.

Russell Bainer

1 2 3 4 |

gCrisprTools documentation built on May 31, 2017, 11:42 a.m.

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.