Learn R Programming

ClusTCR2 (version 1.7.3.01)

ClusTCR: Creates ClusTCR matrix This function identifies similar CDR3 amino acid sequences based on the same length and V_gene

Description

Creates ClusTCR matrix This function identifies similar CDR3 amino acid sequences based on the same length and V_gene

Usage

ClusTCR(my_file, allele = NULL, v_gene = "v_call")

Value

X by Y matrix of structurally related CDR3 sequences.

Arguments

my_file

uploaded file with junction_aa (CD3 sequences), variable gene.

allele

The allele, if present as *00 will be removed if the user requires it.

v_gene

Variable gene column name

Examples

Run this code
# Example usage of ClusTCR function with a stored file
example_file <- read.csv(system.file("extdata", "my_data.csv", package = "ClusTCR2"))
# Perform clustering using ClusTCR function
step1 <- ClusTCR(example_file, allele = FALSE)
# Print the result
print(step1)

Run the code above in your browser using DataLab