plot_geneset: Plot geneset scores as cells

Description Usage Arguments Value References

View source: R/plotting.R

Description

Geneset scores are a score calculated for each single cell derived from \ more than one gene. This function plots geneset scores using monocle3's 'plot_genes' function.

When using method 'totals', the sum of the size-factor corrected, log-normalized gene \ expression for a give set of genes is performed. When using method 'corrected', single \ cell scores for a give gene set that have been "corrected" using 100X genes with similar \ expression levels.

Usage

1
2
3
4
5
6
7
8
plot_geneset(
  cds,
  marker_set,
  name,
  fData_col = "gene_short_name",
  method = c("totals", "corrected"),
  reduction_method = "UMAP"
)

Arguments

cds

Input cell_data_set object.

marker_set

Vector of genes in the gene_metadata DataFrame (fData) that can be found in the column 'fData_col'

name

Name given to the geneset

fData_col

Character string denoting the gene_metadata DataFrame (fData) column that contains the genes in marker_set1. Default = 'gene_short_name'

Value

Plot

References

Puram, S. V. et al. Single-Cell Transcriptomic Analysis of Primary and Metastatic Tumor Ecosystems in Head and Neck Cancer. Cell 171, 1611.e1–1611.e24 (2017).


scfurl/m3addon documentation built on Aug. 9, 2021, 5:30 p.m.