cdhit_clusters {kmers} R Documentation

run the CD-HIT like sequence clustering and then export the cluster

Description

result as a set of the cluster tables

Usage

cdhit_clusters(x,
    k = 12,
    identities = 0.8,
    n.threads = NULL);

Arguments

x

a collection of the sequence data for run the clustering, which can be a FastaFile object, a vector of the FastaSeq object, or a character vector of the raw sequence data.

k

the k-mer size for build the min-hash sketch of the sequence data:

identities

the sequence identity threshold of the cluster members: the sequences that their identity is greater than or equals to this threshold value will be clustered into the same cluster. [as double]

n.threads

the thread number for run the min-hash task in parallel. [as integer]

env

the R# runtime environment object. [as Environment]

Details

Authors

seqtoolkit

Value

a tuple list that contains the data slots:

this function returns NULL if the input data can not be cast to a fasta sequence collection.

clr value class

Examples


[Package kmers version 1.0.0.0 Index]