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

Description Usage Arguments Value Examples

View source: R/archR_auxiliary_functionsI.R

Description

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

Usage

1
get_seqs_clust_list(seqs_clust_lab)

Arguments

seqs_clust_lab

Sequences with cluster labels as in the archR result object.

Value

A list holding sequence IDs belonging in each cluster.

Examples

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

snikumbh/archR documentation built on July 5, 2021, 8:46 a.m.