ct.simpleResult: Convert a verbose results DF object to a gene-level result...

View source: R/fileutilities.R

ct.simpleResultR Documentation

Convert a verbose results DF object to a gene-level result object

Description

Convenience function to reduce a full results object to a gene-level object that retains minimal statistics (or alternatively, check that a provided simple result object is valid).

Usage

ct.simpleResult(summaryDF, collapse = c("geneSymbol", "geneID"))

Arguments

summaryDF

A data.frame, usually returned by ct.generateResults. if you need to generate one of these by hand for some reason, see the example resultsDF object loaded in the example below.

collapse

Column of the provided resultsDF on which to collapse values; in most cases this should be 'geneSymbol' or 'geneID'.

Value

A gene-level 'data.frame', with guide-level information omitted

Author(s)

Russell Bainer

Examples

data('resultsDF')
ct.simpleResult(resultsDF)

RussBainer/gCrisprTools documentation built on Nov. 5, 2022, 2:35 p.m.