get_CPM: A function to normalize sgRNA read counts.

View source: R/utils.R

get_CPMR Documentation

A function to normalize sgRNA read counts.

Description

A function to normalize sgRNA read counts.

Usage

get_CPM(sgcount)

Arguments

sgcount

The input table contains read counts of sgRNAs for each sample

A function to calculate the CPM (Counts Per Million) (required)

Value

a normalized CPM table will be returned

Examples

library(CB2)
data(Evers_CRISPRn_RT112)
get_CPM(Evers_CRISPRn_RT112$count)


CB2 documentation built on Nov. 5, 2025, 6:49 p.m.