View source: R/extract_hrchy_seurat.R
extract_hrchy_seurat | R Documentation |
This function takes in either Seurat object or phylogenetic tree and generates hierarchy information.
extract_hrchy_seurat(input, type = "phylo_tree")
input |
An input data |
type |
Input data type, must be one of 'phylo_tree' (default) or 'seurat_object'. |
A list of hierarchy information:
edges: a data frame that documents that parent-children relationship.
layout: a data frame that contains id, xy coordiates, label and a leaf indicator for each node.
immediate_children: a data frame that captures immediate children for each node.
leaves_info: a data frame that summarizes leaf children for each node.
Boyang Zhang <bzhang34@jhu.edu>, Hongkai Ji
# Assume seurat_object is obtained after running treecor_harmony()
extract_hrchy_seurat(seurat_object, type = 'seurat_object')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.