get_seqs_clust_list: Retrieve sequence clusters as a list from the sequence labels

View source: R/seqArchR_auxiliary_functionsI.R

get_seqs_clust_listR Documentation

Retrieve sequence clusters as a list from the sequence labels

Description

Given the sequence cluster labels from the seqArchR result object, returns the clusters separated as a list.

Usage

get_seqs_clust_list(seqs_clust_lab)

Arguments

seqs_clust_lab

Sequences with cluster labels as in the seqArchR result object.

Value

A list holding sequence IDs belonging in each cluster.

Examples


clustLabels <- sample(seq_len(4), 50, replace = TRUE)
print(clustLabels)
get_seqs_clust_list(clustLabels)


snikumbh/seqArchR documentation built on March 11, 2024, 7:06 p.m.