clean_metadata: Clean metadata of Seurat objects

Description Usage Arguments Value

Description

The cell type labels are converted into levelled factors. 'D' is appended before data labels.

Usage

1
2
3
4
5
6
clean_metadata(
  x,
  AP = NULL,
  cell_type_col = c("revised", "Type", "assigned_cluster", "broad_type"),
  date_col = "date"
)

Arguments

AP

aesthetic parameters. The key one is cell_order, which contains sorting cell order

cell_type_col

on which columns should cell type sorting occur

date_col

which column contains date information

Value

a Seurat object


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.