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.

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