tcR (version 2.3.2)

convergence.index: Compute convergence characteristics of repertoires.

Description

Get a number of rows with similar aminoacid sequence but different nucleotide sequence.

Usage

convergence.index(
  .alpha,
  .beta,
  .col.nuc = "CDR3.nucleotide.sequence",
  .col.aa = "CDR3.amino.acid.sequence"
)

Arguments

.alpha

Either data frame with columns .col.nuc and .col.aa or list with such data frames.

.beta

Either data frame or none.

.col.nuc

Name of the column with nucleotide sequences.

.col.aa

Name of the columnw ith aminoacid sequences.

Value

If .alpha is data frame, than integer vector of length 2 with . If .alpha is a list than matrix M with M[i,j] = convergence.index(.alpha[[i]], .alpha[[j]]).