mcl_cluster | R Documentation |
Create the files for labeling the linked clusters from ClusTCR_list_to_matrix function
mcl_cluster(my_file, max.iter = 10, inflation = 1, expansion = 1)
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 |
A list containing two elements:
'Cluster_lab': Data frame containing information about the clusters
'Normalised_tabel': Normalized table used in the clustering process
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.