lsl: Loads a sample list

View source: R/luna.R

lslR Documentation

Loads a sample list

Description

Imports a Luna sample-list into R

Usage

lsl(file, path = "")

Arguments

file

a required argument, giving the name of the sample-list file

path

an optional argument, mirroring Luna's path command-line option

Value

a named-list representing the sample-list

Examples

## Not run: 
> sl <- lsl("s.lst")
3 observations in s.lst

> names(sl)
[1] "nsrr01" "nsrr02" "nsrr03"

> str(sl)
List of 3
$ nsrr01:List of 2
..$ EDF  : chr "edfs/learn-nsrr01.edf"
..$ ANNOT: chr "edfs/learn-nsrr01-profusion.xml"
$ nsrr02:List of 2
..$ EDF  : chr "edfs/learn-nsrr02.edf"
..$ ANNOT: chr "edfs/learn-nsrr02-profusion.xml"
$ nsrr03:List of 2
..$ EDF  : chr "edfs/learn-nsrr03.edf"
..$ ANNOT: chr "edfs/learn-nsrr03-profusion.xml"

## End(Not run)

remnrem/luna documentation built on June 1, 2025, 2:14 p.m.