dual_eval: Calculate dual depths and false dual rates for simulated...

Description Usage Arguments Value

Description

dual_eval() is used in simulation situations to compare the duals determined by dual_top and dual_tail (which can be combined with rbind()) to the duals in the simulated T cell population.

Usage

1
dual_eval(duals, pair, TCR, number_skewed, TCR_dual)

Arguments

duals

A 4 column matrix (col 1 + 2 = beta indices, col 3 + 4 = alpha indices) containing the indices of dual-alpha clones. The output of dual_top and dual_tail are in this form (and the outputs of these two functions can combined by using rbind())

pair

The output of bagpipe

TCR

The clonal structure of the simulated T cell population. This is obtained by subsetting the TCR element of the output of create_clones

number_skewed

The number of clones represent the top proportion of the T cell population by frequency (this is the same number_skewed argument used when create_clones is called)

TCR_dual

The dual clones of the simulated T cell population. This is obtained by subsetting the dual_alph element of the output of create_clones

Value

A data.frame with the following columns:


edwardslee/alphabetr documentation built on May 15, 2019, 11:03 p.m.