combine_freq_results {alphabetr}R Documentation

Combines the frequency estimation results from single TCR clones and dual TCR clones

Description

combine_freq_results() combines the results of the frequency estimation performed on single TCR clones (from the output of bagpipe) and the frequency estimation performed on dual clones. The code will find the rows of the single TCR frequency results that are represented by the dual clones and replace them with the appropriate dual clone entry.

Usage

combine_freq_results(single, dual)

Arguments

single

Frequency estimation results of single TCR clones (usually from the first time freq_estimate is called)

dual

Frequency estimation results of dual TCR-alpha clones

Value

A data.frame with the same structure as the output of freq_estimate. If two single "clones" in the single data.frame is represented by a dual clone in dual, then it is removed and replaced with one row represented by the dual clone.


[Package alphabetr version 0.2.2 Index]