Helper function to assist entering dimensional reduction data from Python reduction methods

PushData(object, ...)

# S3 method for Seurat
PushData(object, python_df, reduction_save, assay_used)

# S3 method for SingleCellExperiment
PushData(object, python_df, reduction_save)

Arguments

object

A Seurat or SingleCellExperiment object to be transformed.

...

Arguments passed to specific downstream methods

python_df

Dataframe returned by a Python function

reduction_save

Name to use for the reduction (i. e. tsne, umap, etc...)

assay_used

Assay from which the data that is dimensionally reduced comes

Value

Seurat object

SingleCellExperiment object