filter_in_vitro: filter_in_vitro

View source: R/markers_functions.R

filter_in_vitroR Documentation

filter_in_vitro

Description

For a given gene in in marker_all, if the fraction of cells in one or more clusters with an expression above threshold is greater than fraction, then the gene is kept

Usage

filter_in_vitro(
  norm_vitro,
  cluster_vitro,
  marker_all,
  fraction = 0.1,
  threshold = 0
)

Arguments

norm_vitro

Norm count matrix (n_genes X n_cells) for in vitro dataset

cluster_vitro

cluster for in vitro dataset

marker_all

First element of the list given as output by the function select_top_markers

fraction

Numeric value.

threshold

Numeric value

Value

Character vector with the names of kept genes

Author(s)

Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de


SCOPRO documentation built on Aug. 23, 2022, 9:05 a.m.