read_input: Read in proteomic data from file

View source: R/read_input.R

read_inputR Documentation

Read in proteomic data from file

Description

Read in file containing proteomic data as data.frame. Call check_input() to check data format.

Usage

read_input(filename, sep = "")

Arguments

filename

path to input file.

sep

the field character seperator, see ?read.table.

Value

list contaiing two objects, data and format. data: input data.frame. format: list returned by check_input(), see ?check_input.

Examples

## Not run: 
df1 <- data.frame(gene=letters, rep1=rnorm(26), rep2=rnorm(26), rep3=rnorm(26))
tmp <- tempfile()
write.table(df1, tmp, quote=F, sep="\t", row.names=F)
input <- read_input(tmp, sep="\t")

## End(Not run) 


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.