Description Usage Arguments Value
Convert a cl factor object to an annotation data.frame
1 | cl_to_anno(cl, cl.df = NULL, cl_col = "cl", base = "cluster")
|
cl |
The cl factor object generated by clustering with scrattch.hicat |
cl.df |
Optional: A cluster annotation data.frame. |
cl_col |
The column to use to match cl.df to cl. Default is "cl", but if not found, will try to match using rownames(cl.df). |
base |
The base of the cluster annotation. Default is "cluster", which will result in "cluster_id","cluster_label", and "cluster_color" columns. |
a data.frame with columns "sample_name", base"_id", base"_label", and base"_color"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.