Skip to contents

Plot pairwise gene coexpression scatter and calculate hypergeometric enrichment p-value between two genelists

Usage

genecoexp_scatter_hyper(
  seuobj,
  df_dense = NULL,
  genesA,
  genesB,
  group = NULL,
  savepath,
  ncols = NULL
)

Arguments

seuobj

Seurat object

df_dense

dataframe; dense gene expression matrix from Seurat (cells in rows, genes in columns)

genesA

char vector; list of genes

genesB

char vector; list of genes

group

string; metadata value to group by

savepath

string; path to choose from with title sans extension

ncols

integer; number of columns in grid

Value

dataframe of hypergeometric test p-values