mcl_cluster: Create the files for labeling the linked clusters from...

View source: R/mcl_clusters.R

mcl_clusterR Documentation

Create the files for labeling the linked clusters from ClusTCR_list_to_matrix function

Description

Create the files for labeling the linked clusters from ClusTCR_list_to_matrix function

Usage

mcl_cluster(my_file, max.iter = 10, inflation = 1, expansion = 1)

Arguments

my_file

Matrix file produce from ClusTCR

max.iter

Number of iterations to find the steady state of MCL.

inflation

numeric value

expansion

numeric value

Value

A list containing two elements:

  • 'Cluster_lab': Data frame containing information about the clusters

  • 'Normalised_tabel': Normalized table used in the clustering process

Examples

# Example usage of mcl_cluster function with a stored file
example_file <- read.csv(system.file("extdata", "my_data.csv",package = "ClusTCR2"))
# Perform clustering using mcl_cluster function
step1 <- ClusTCR(example_file,allele = FALSE)
# perform mcl
step2 <- mcl_cluster(step1)

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