ComparisonFunction: Comparison function between two sets of TCRs generated by...

Description Usage Arguments Value Examples

View source: R/CDR3SetDistance.R

Description

Comparison function between two sets of TCRs generated by SPANTCR. Compatible between two paired sets, or two single gene sets.

Usage

1
2
3
4
5
6
7
8
ComparisonFunction(
  baseset,
  compset,
  limit = 100,
  ticks = FineBinTicks,
  functionmatrix = BLOSUMCappedDiff,
  fulloutput = F
)

Arguments

baseset

CDR3Breakdown object 1

compset

CDR3Breakdown object 2

limit

Cumulative distance at which to stop comparing CDR3s

ticks

Number of ticks to use, default 100

functionmatrix

Matrix of amino acid distance metrics, default modified BLOSUM

fulloutput

T/F if all TCRs in compset should be saved

Value

List containing the cumulative distance between each TCR of base set and either the top closest k-mers in compset or all k-mers

Examples

1
## Not run: ComparisonFunction(SPANTCROutput, SPANTCROutput, 100, FineBinTicks, BLOSUMCappedDiff, F)

alexandermxu/SPANTCR documentation built on Dec. 19, 2021, 12:30 a.m.