tfSimilarity: Function to plot a matrix with Jaccard Similarity values...

View source: R/plotting.R

tfSimilarityR Documentation

Function to plot a matrix with Jaccard Similarity values based on how similar up-regulated TFs are between clusters/groups

Description

Function to plot a matrix with Jaccard Similarity values based on how similar up-regulated TFs are between clusters/groups

Usage

tfSimilarity(obj, markers, db, plot = T)

Arguments

obj

Seurat object with RNA data, active ident should be what markers are comparing (ex: seurat_clusters)

markers

differentially expressed genes by cluster or group

db

TF database with names(db) as TFs

plot

logical to indicate whether to return plot (TRUE) or return similarity matrix (FALSE)

Value

either ggplot object or Jaccard Similarity matrix


hmumme/finalProjectMUMME documentation built on April 22, 2022, 12:43 a.m.