PlotTree: PlotTree

Description Usage Arguments Details Value Examples

View source: R/function.R

Description

Function to visualise the array generate tree

Usage

1
PlotTree(treeinfo, data.extract = NULL, annotation = NULL, prefix = NULL)

Arguments

treeinfo

List generate from BuildTree, for more see BuildTree

data.extract

(optional) If "FALSE" (default), will not return the indel's information, if it's "TRUE", the opposite

annotation

(optional) If "TRUE" (default), the annotation of each cell barcodes have to be provided before, and a heatmap of cells' distribution for each array will be return

prefix

(optional) Indels' prefix

Details

Title

Value

A list include a ggplot object, a dataframe show the distribution of each array contained in each group of cells (optional), and a dataframe to create the ggplot object

Examples

1
2
3
data("example_data",package = "LinTInd")
plotinfo<-PlotTree(treeinfo = treeinfo,data.extract = "TRUE",annotation = "TRUE")
plotinfo<-PlotTree(treeinfo = treeinfo,data.extract = "TRUE",annotation = "FALSE")

mana-W/LinTInd documentation built on Feb. 14, 2022, 10:13 a.m.