getZScalesWithNTGuides: Calculate Z-score scaling factors using non-targeting guides

Description Usage Arguments Value Examples

View source: R/MAUDE.R

Description

Calculates scaling factors to calibrate element-wise Z-scores by repeatedly calculating a set of "null" Z-scores by repeatedly sampling the given numbers of non-targeting guides per element.

Usage

1
getZScalesWithNTGuides(ntData, uGuidesPerElement, mergeBy, ntSampleFold = 10)

Arguments

ntData

data.frame containing the data for the non-targeting guides

uGuidesPerElement

a unique vector of guide counts per element

mergeBy

usually contains a data.frame containing the headers that demarcate the screen ID

ntSampleFold

how many times to sample each non-targeting guide to make the Z score scale (defaults to 10)

Value

a data.frame containing a Z-score scaling factor, one for every number of guides and unique entry in mergeBy

Examples

1
#not generally used directly

klarman-cell-observatory/MAUDE documentation built on Nov. 4, 2019, 3:53 p.m.