readFileSet: Read an existing fileSet from storage

View source: R/fileSet.R

readFileSetR Documentation

Read an existing fileSet from storage

Description

This function only reads the meta-data.

Usage

readFileSet(map_path)

Arguments

map_path

path of file to map (should contain valid _idx.rds index)

Value

a sesame::fileSet object

Examples


## create two samples
fset <- initFileSet('mybetas2', 'HM27', c('s1','s2'))

## a hypothetical numeric array (can be beta values, intensities etc)
hypothetical <- setNames(runif(fset$n), fset$probes)

## map the numeric to file
mapFileSet(fset, 's1', hypothetical)

## read it from file
fset <- readFileSet('mybetas2')

## get data
sliceFileSet(fset, 's1', 'cg00000292')


zwdzwd/sesame documentation built on April 28, 2024, 12:48 p.m.