addSignatures: Add signatures to VISION object

View source: R/AnalysisFunctions.R

addSignaturesR Documentation

Add signatures to VISION object

Description

Add signatures to VISION object

Usage

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/FastProjectR documentation built on June 13, 2024, 4:20 p.m.