white_black_markers: white_black_markers

View source: R/Clustering_functions.R

white_black_markersR Documentation

white_black_markers

Description

A white-marker is a gene whose median expression across cells belong to single_cluster is greater than threshold and in all the other clusters is equal to zero.

Usage

white_black_markers(
  cluster,
  single_cluster,
  norm_counts,
  marker_list,
  threshold = 0
)

Arguments

cluster

Vector of length equal to the number of cells, with cluster assignment.

single_cluster

Character. Label of one specify cluster

norm_counts

Norm count matrix (genes X cells).

marker_list

Third element of the output list as returned by the function markers_cluster_seurat

threshold

Numeric. The median of the genes across cells belong to single_cluster has to be greater than threshold in order to be consider as a white-black marker for single_cluster

Value

Logical vector of length equal to marker_list, with TRUE/FALSE if the gene is/is not a white-black marker for single_cluster.

Author(s)

Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de


CIARA documentation built on March 18, 2022, 6:48 p.m.