addSignatures: Add signatures to VISION object

Description Usage Arguments Value

View source: R/AnalysisFunctions.R

Description

Add signatures to VISION object

Usage

1
2
3
4
5
6
addSignatures(
  object,
  signatures,
  min_signature_genes = 5,
  sig_gene_threshold = 0.01
)

Arguments

object

the VISION object

signatures

list of file paths to signature files (.gmt or .txt) or Signature objects. See the createGeneSignature(...) method for information on creating Signature objects.

min_signature_genes

Signature that match less than this number of genes in the supplied expression matrix are removed.

sig_gene_threshold

Proportion of cells that a gene must be detected in (nonzero) to be used in signature score calculations.

Value

the VISION object, with the @sigData slot updated


YosefLab/VISION documentation built on Sept. 14, 2021, 5:27 p.m.