Skip to contents

Sample cells from a population

Usage

combn_ids(x, m = seq_along(x))

summarize_capture_rate(combinations, population, threshold = 0.01)

Arguments

x

list of ID vectors

m

number of regions to sample

combinations

nested tibble from combn_ids()

population

tibble

threshold

minimum frequency of detectable alleles

Details

combn_ids makes combinations of cell IDs for various number of samples.

summarize_capture_rate calculates expected allele capture rate on various combinations of samples.