readInSEFolder: readInSEFolder read a SummarizedExperiment in from a folder

View source: R/buildAll.R

readInSEFolderR Documentation

readInSEFolder read a SummarizedExperiment in from a folder

Description

This function reads in a SummaraizedExperiment from a Zip file generated by writeOutSEZip. It is designed for getting an intact SummarizedExperiment out of ExperimentHub for a data package, so it does not clean up after itself and leaves stray csv files in the data package directory.

Usage

readInSEFolder(folder_name = "SE_out/")

Arguments

folder_name

The path to a folder containing a SummarizedExperiment

Value

A SummarizedExperiment object.

Examples

# We can read in a small SummarizedExperiment containing a
# subset of the built data stored directly in the package like so
small_data <- readInSEFolder(
  folder_name=system.file("ExampleSummarisedExperimentFolder", package="homosapienDEE2CellScore"))

flaviusb/homosapienDEE2CellScore documentation built on April 11, 2024, 1:47 p.m.