ct.RRAalphaBatch: Create Batches of Null Permutations for a Crispr Screen

Description Usage Arguments Value Author(s)

View source: R/RRAalpha.R

Description

This is a wrapper function to partition batches of calls to ct.RRAalpha() for multicore processing. It is called internally as a single instance of the beta aggregation step in RRAa. Users should not interact with it directly.

Usage

1
2
3
4
5
6
7
ct.RRAalphaBatch(
  p,
  g.key,
  result.environment,
  batch.size = 100,
  permutation.seed = NULL
)

Arguments

p

A single column matrix of rank statistics, with row.names indicating the gRNA labels.

g.key

data.frame with guide and gene names

result.environment

The target environment containing the quasi-global variables incremented during the permutations in the child functions.

batch.size

Number of iterations to deploy to each daughter process.

permutation.seed

numeric seed for permutation reproducibility. Default is NULL, in which case no seed is set.

Value

An integer vector indicating the number of iterations in which each gene's score was better than those indicated in result.environment$obs.

Author(s)

Russell Bainer


gCrisprTools documentation built on Nov. 8, 2020, 8:17 p.m.