append_predictions_to_seurat: Create a gene expression matrix to predict dependencies

View source: R/append_predictions_to_seurat.R

append_predictions_to_seuratR Documentation

Create a gene expression matrix to predict dependencies

Description

This function creates a gene expression matrix from a list of files, each containing bulk gene expression profiles. It returns a samples-by-genes matrix.

Usage

append_predictions_to_seurat(
  scrna_folder,
  scrna_name,
  predictions_table,
  scrna_group_cells_by = "seurat_clusters"
)

Arguments

scrna_folder

Folder that hosts the Seurat object.

scrna_name

Name of the Seurat object (without .rds).

predictions_table

The predictions table

scrna_group_cells_by

The name of the column in the metadata to group by (default = "seurat_clusters").

Examples

append_predictions_to_seurat("./data","my_seurat_object")

Mushriq/mixmap documentation built on Jan. 28, 2024, 7:22 p.m.