PushData: PushData

View source: R/interfaceFunction.R

PushDataR Documentation

PushData

Description

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

Usage

PushData(object, ...)

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

## S3 method for class '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


milescsmith/ReductionWrappers documentation built on March 25, 2023, 11:58 a.m.