AreTheseCellNamesTheSame: AreTheseCellNamesTheSame

View source: R/Seurat.Utils.R

AreTheseCellNamesTheSameR Documentation

AreTheseCellNamesTheSame

Description

Assert and compare two character vectors (e.g.: cell IDs) how much they overlap and plot a Venn Diagram. The function aborts with an error if overlap is too small.

Usage

AreTheseCellNamesTheSame(
  vec1 = names(UVI.annot),
  vec2 = names(nr_UVI),
  names = c("Cells in Targ.Ampl", "Cells in GEX"),
  min.overlap = 0.33
)

Arguments

vec1

Character vector, eg. with cell names

vec2

Character vector, eg. with cell names

names

Names for plotting

min.overlap

Threshold below there is no there is no meaningful overlap between the two vectors.

Examples

# reTheseCellNamesTheSame()

vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.