MapMetaData: Map metadata from Seurat object to CCIM object

View source: R/interaction_graph.R

MapMetaDataR Documentation

Map metadata from Seurat object to CCIM object

Description

Map metadata from Seurat object to CCIM object

Usage

MapMetaData(ccim_seu, seu, columns_map = NULL)

Arguments

ccim_seu

Seurat object generated by GenerateCCIM that contains a cell-cell interaction matrix

seu

Parent Seurat object from which the cell-cell interaction matrix was generated

columns_map

Character vector of names of metadata columns to map from parent Seurat object

Value

Returns a Seurat object with metadata from each sender and receiver cell mapped from the parent Seurat object. Metadata about the sender cell in each cell-cell pair is prepended with "sender_" and metadata about the receiver cell prepended with "receiver_"


BlishLab/scriabin documentation built on Sept. 16, 2024, 1:19 a.m.