cluster_list_to_df | R Documentation |
Reformats long-form list of cluster members as a data.frame with all elements as rows and one or two columns per cluster indicating cluster membership and optionally central elements for each cluster
cluster_list_to_df(cluster_members, central_elements = NA)
cluster_members |
Long list of each cluster in each cluster count and the elements that belong to that cluster ( i.e. Cluster_002_001 <- Bindea_aDC, Bindea_BCells ... ). |
central_elements |
Optional list of central elements by cluster id ( i.e. Cluster_002_001 <- central element of that cluster ). If omitted, central element columns will not be added to return data.frame. |
Returns the data.frame containing cluster membership for each group of clusters in the cluster_members list and optionally the central element of each cluster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.