merge.MSfiles: merge.MSfiles

Description Usage Arguments Details Value Examples

View source: R/AnnoMass.R

Description

Merges data from several existing MSfiles, impute missing values by 1 and computes number of studies overlapped by the particular protein.

Usage

1
merge.MSfiles(MSfiles,,by=1,all=TRUE,sep="\t")

Arguments

MSfiles

character vector; path(s) to the text files with MS data

by

positive integer. column index with protein identifier

all

logical; merge all proteins (if FALSE only proteins present in all files are merged

sep

character; cell separator in text files

Details

one additional column is added - overlap - which says in how many studies the particular protein was detected. The protein is considered detected if if if the value in at least one fraction in the study is greater than 1

Value

invisible data.frame. One line per protein.

Examples

1
2
3
files1<-system.file("extdata",c("Bileck.txt","Thakar.txt","Carvalho.txt","Andreyev.txt","Rodriguez.txt"),package="MetaMass")

res<-merge.MSfiles(files1,output="merged_files.txt")

stuchly/MetaMass documentation built on Nov. 14, 2019, 10:58 p.m.