expected_doublet_counts: Given a named vector x with counts of various cell types,...

Description Usage Details

View source: R/classifier.R

Description

Given a named vector x with counts of various cell types, returns expected doublet quantities for each possible pairing.

Usage

1
expected_doublet_counts(x, rate = 0.05)

Details

Make sure you only feed this one replicate at a time! You can't get doublets across replicates. Assumes a doublet rate of 5

Output is a named numeric vector of expected cell counts. For names, every combination of names(x) should be present once in the output. Order doesn't matter, so labels get alphabetized and concatenated with '_'. Within-cluster doublets are included. E.g. you get BLD_END and BLD_BLD but not END_BLD.


maehrlab/thymusatlastools documentation built on May 28, 2019, 2:32 a.m.