ClusTCR: Creates ClusTCR matrix This function identifies similar CDR3...

View source: R/ClusTCR.R

ClusTCRR Documentation

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")

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

Value

X by Y matrix of structurally related CDR3 sequences.

Examples

# 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)

ClusTCR2 documentation built on May 29, 2024, 9:32 a.m.