write_clust | R Documentation |
Write the cluster to files.
write_clust(
object,
sep = "\n",
file_prefix = "scigenex_clust",
file_suffix = ".csv",
path = NULL,
single_file = FALSE,
write_cname = FALSE
)
object |
a ClusterSet object. |
sep |
The separator |
file_prefix |
A file prefix. |
file_suffix |
A file suffix. |
path |
A directory to store the files. |
single_file |
Logical. Whether to write all clusters in a single file (one cluster / line). Need to change the default separator (e.g to ","). The file_prefix is used as file name. |
write_cname |
Whether to add the cluster name. The cluster name is written as a prefix of each line in file(s) and followed by two pipes ("||"). |
# load a dataset
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
write_clust(pbmc3k_medium_clusters[1:3,], path="/tmp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.