bagel_normalise_counts: Normalise counts using BAGEL method.

View source: R/normalise_counts.R

bagel_normalise_countsR Documentation

Normalise counts using BAGEL method.

Description

Normalise count matrix using BAGEL method.

Usage

bagel_normalise_counts(
  sample_counts = NULL,
  scaling_factor = 1e+07,
  pseudocount = 5
)

Arguments

sample_counts

a sample count matrix.

scaling_factor

a scaling factor (Default: 10000000).

pseudocount

a pseudocount (Default: 5).

Details

Assumes that sgRNA identifiers and gene names are in the first two columns. First a defined pseudocount gets added to all guide counts. Then sample counts are total normalised and multiplied by a scaling factor.

Value

dataframe


cancerit/RCRISPR documentation built on April 26, 2023, 10:12 p.m.