setupRawDataObject: Prepare SummarizedExperiment object for raw data to be...

Description Usage Arguments Value Examples

View source: R/inputVerification.R

Description

Prepare SummarizedExperiment object for raw data to be normalized containing data, design and annotation information

Usage

1
2
setupRawDataObject(dataPath, designPath, inputFormat = "default",
  zeroToNA = FALSE, sampleColName = "sample", groupColName = "group")

Arguments

dataPath

File path to data matrix.

designPath

File path to design matrix.

inputFormat

Type of matrix for data, can be either 'default', 'proteios', 'maxquantprot' or 'maxquantpep'

zeroToNA

If TRUE zeroes in the data is automatically converted to NA values

sampleColName

Column name for column containing sample names

groupColName

Column name for column containing condition levels

Value

experimentObj SummarizedExperiment object loaded with the data

Examples

1
2
3
data_path <- system.file(package="NormalyzerDE", "extdata", "tiny_data.tsv")
design_path <- system.file(package="NormalyzerDE", "extdata", "tiny_design.tsv")
df <- setupRawDataObject(data_path, design_path)

NormalyzerDE documentation built on Nov. 8, 2020, 8:22 p.m.