prepNormedDGE_SDA: Prepare and Save Normalized Gene Expression Data for SDA

View source: R/SDA_Seurat.R

prepNormedDGE_SDAR Documentation

Prepare and Save Normalized Gene Expression Data for SDA

Description

This function prepares the environment for single-cell data analysis (SDA) by saving normalized gene expression data to a specified output folder. It ensures that the output directory exists, appending a trailing slash if necessary, and utilizes SDAtools for data export. The function also prepares a results directory within the output folder for further analysis.

Usage

prepNormedDGE_SDA(normedDGE, outputFolder)

Arguments

normedDGE

A matrix or data frame containing normalized gene expression data, ready for analysis. This data is expected to be preprocessed and normalized appropriately.

outputFolder

A character string specifying the path to the output folder where the normalized data and results will be saved. The function will create the directory if it does not exist, and will ensure it ends with a slash for consistency in path handling.

Value

A list containing two elements: 'resultsDir' indicating the path to the results directory, and 'rawDataFile' specifying the path to the saved normalized gene expression data file.


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.