AreTheseCellNamesTheSame | R Documentation |
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.
AreTheseCellNamesTheSame(
vec1 = names(UVI.annot),
vec2 = names(nr_UVI),
names = c("Cells in Targ.Ampl", "Cells in GEX"),
min.overlap = 0.33
)
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. |
# reTheseCellNamesTheSame()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.