metadata_reprocessing: match bulk annotation with scRNA groups

Description Usage Arguments Value

View source: R/Arthurs_cell_annotation_functions.R

Description

For a given meta data label, this function calculate with annotated cell type present in the meta data label, and which meta data label is irrelavant for the current dataset. The filtering process ensure that only ident group that present in at least one of the category will be kept. presence of a group means that more than filtering_threshold

Usage

1
2
metadata_reprocessing(dataset, Exp_Seurat, relavant_cells,
  filtering_based_on_category = NULL, filtering_threshold = 0.01)

Arguments

dataset

dataset object output by secondary_cor

Exp_Seurat

Seurat object with @metadata

relavant_cells

A vector cell position id indicating the cells that's relveant for the analysis.

filtering_based_on_category

The type of category that filtering will happen on,must be present in Exp_Seurat@meta.data

Value

an data_set object


Arthurhe/Lightbulb documentation built on April 13, 2020, 5:12 p.m.