Learn R Programming

OmicsPrepR (version 0.1.1)

export_clean: Export Cleaned Omics Data

Description

Saves a cleaned omics dataset to a CSV file.

Usage

export_clean(data, file_path)

Value

None. A file is written to disk.

Arguments

data

A cleaned omics data frame or matrix.

file_path

Path to the file where the data will be saved.

Examples

Run this code
# \donttest{
# Create sample data
data <- matrix(rnorm(100), nrow = 10)
cleaned_data <- as.data.frame(data)

# Save to a temporary location (CRAN policy compliant)
temp_file <- tempfile(fileext = ".csv")
export_clean(cleaned_data, temp_file)
# }

Run the code above in your browser using DataLab