AddTargetAssay: Add the TF target expression

AddTargetAssayR Documentation

Add the TF target expression

Description

This function will created a new assay by using the predicted gene regulatory network where features are the selected TFs. Each value represents the average expression of all targets calculated by using the function AddModuleScore from Seurat.

Usage

AddTargetAssay(
  object,
  target.assay = "target",
  rna.assay = "RNA",
  df.grn = NULL
)

Arguments

object

A Seurat object used as input

target.assay

Name for the new assay. Default: "target"

df.grn

A data frame containing the predicted gene regulatory network.

Value

A Seurat object with a new assay named by target.assay


CostaLab/scMEGA documentation built on Sept. 25, 2024, 6:11 a.m.