importDesign {umiAnalyzer}R Documentation

Import experimental design meta data such as replicates, treatments, categorical variables.

Description

Import experimental design meta data such as replicates, treatments, categorical variables.

Usage

importDesign(object, file, delim = NULL)

Arguments

object

UMI.experiment to which to add metadata

file

File containing meta data

delim

Column separator. Default is NULL (automatically determine delimiter)

Value

A UMIexperiment object

Examples

library(umiAnalyzer)

main <- system.file("extdata", package = "umiAnalyzer")

simsen <- createUmiExperiment(main)

metaData <- system.file("extdata", "metadata.txt", package = "umiAnalyzer")

simsen <- importDesign(object = simsen,file = metaData)

# Retrieve meta data
design <- getMetaData(object = simsen, attributeName = "design")
design



[Package umiAnalyzer version 1.0.0 Index]