brtSetUniqueBc: brtSetUniqueBc

View source: R/preprocessing.R

brtSetUniqueBcR Documentation

brtSetUniqueBc

Description

unique bc should be non-noise bc, unique virus bc, and is distinct among starters. Thus, brtSetNoiseBc, brtSetUniqueVirus and brtSetCellState should have been run.

Usage

brtSetUniqueBc(obj, N = 3, U = 0.3, P = 0.8)

Arguments

obj

a brtstarter obj

N

cutoff of counts

U

cutoff of proportion within cells

P

cutoff of proportion across cells

Value

update rowdate and coldata with useful columns cell.p: for bc i, cell.p is max(bci)/sum(bci) and cell: cell with max bci cell.u: for bc i and cell j, cell.u is bci/sum(cell.u) unique.bc, logical, which bc is unique and useful bc. rvcounts.unique: total unique counts within one cell, useful for downstream analysis


c57bl/Brt documentation built on May 20, 2022, 8:45 p.m.