Skip to contents

plot heatmap for lineage tracing barcodes in each cell type

Usage

fate_mapping(
  data,
  idx = "celltype",
  order_use = NULL,
  show_row = T,
  cluster_rows = F,
  cluster_cols = T,
  ...
)

Arguments

data

data.frame, indicating lineage tracing data, first column should be lineage tracing barcodes, second column should be related cell type

idx

column name of cell type

order_use

order cell type

cluster_cols

boolean values determining if cols should be clustered

...

other pheatmap parameters

show_rownames

vector,indicating the order of cell types in the heatmap.

col

heatmap colors

cluster_row

boolean values determining if rows should be clustered

Value

heatmap

Examples

fate_mapping(fate_test)
#> Error in `[.data.frame`(data, , idx): undefined columns selected