data_reader: Data reader for different file format

Description Usage Arguments Details Value Examples

Description

Use this function to open label-free proteomics data in different file formats(csv,txt,xlsx)

Usage

1
data_reader(file_path)

Arguments

file_path

your file path,if the file doesn't in the current directory,please give the complete paths.

Details

This funtion can load label-free proteomics files in csv/txt/xlsx format."NA","#N/A","NaN","" and 0 are seem as missing values and transform to NA.The default data format is the first column is names of proteins/peptides, and the first row is names of samples.The samples information file can also load by this funtion.Currently,this funtion can support "proteinGroups.txt" file from MaxQuant except for the default format.The name of MaxQuant rawfile doesn't matter, and the MaxQuant data extracted by this funtion can be analyzed by function data_cleaner().

Value

a dataframe extracted from your input data

Examples

1
2
3
4
5
test_data<-data_reader("test.csv")
test_data<-data_reader("test.xlsx")
test_data<-data_reader("test.txt")
test_path<-c("test.csv")
test_data<-data_reader(test_path)

Avabowl/foo documentation built on May 10, 2019, 1:20 p.m.