Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/split_clstr_file.R
This function splits a cluster file containing cluster information for several distances into separate cluster files for each distance.
1 | split_clstr_file(clstr_file = "all_seq_complete.clust", file.prefix = "dist_")
|
clstr_file |
The name of the cluster file for multiple distances. |
file.prefix |
The prefix for the individual cluster files to be written to disk. |
Output files have names of the form prefix0.nn.clust where nn is the decimal distance at which sequences were clustered. The resulting cluster files may be used as input to the function assoc_repseq_IDs_with_otus_by_clstr which requires that the input cluster file be for a single distance. The resulting files may also be used as input to clstr2otu with some gain in speed compared to inputting a cluster file with multiple distances.
This function operates on files. It returns a message when it has completed. It is not normally assigned to a variable; if so, the variable contains only the message.
John Quensen
assoc_repseq_IDs_with_otus_by_clstr
1 2 | clstr.file <- system.file("extdata", "all_seq_complete.clust", package="RDPutils")
split_clstr_file(clstr_file = clstr.file, file.prefix = "dist_")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.