make_gse_scores: Makes gene set enrichment scores by cell

Description Usage Arguments Value

View source: R/make_gse_scores.R

Description

This function will read in the gene sets from an existing list, gmt file, or csv file and score cells based on scaled gene expression. The results will be appended to the set_scores assay in the provided Seurat object or the assay will be created.

Usage

1
2
3
4
5
6
7
8
9
make_gse_scores(
  ser,
  directory = NULL,
  from_gene = "HGNC",
  to_gene = "MGI",
  gene_sets = NULL,
  csv_dir = NULL,
  type = "Real"
)

Arguments

ser

Seurat object to process

directory

Directory to get gmt file

from_gene

"ENSG" or "ENSMUSG" or "HGNC" or "MGI"

to_gene

"MGI" or "HGNC"

gene_sets

User defined subset of gene set (Optional)

csv_dir

Directory to get csv file (Optional)

type

Output score in Absolute or Real values

Value

Outputs seurat object


Chris-Cherry/sctools documentation built on Jan. 25, 2022, 2:19 p.m.