MergeMetaData: MergeMetaData

Description Usage Arguments Value Examples

View source: R/MetaDProcessing.R

Description

Merges two dataframes, one is the output of the funct. PMetaData1 and the other comes from a xlsx file. Merging is done through the Maldi code. Therefore it is important to ensure error-free transcription of Maldi codes.

Usage

1
MergeMetaData(df, Dp, filein, fileout, keyCode = "Maldi_code")

Arguments

df:

input dataframe (output of PMetaData1), Dp: folder containing the metadata files,

filein:

xlsx files for metadata

fileout:

csv file for both joined dataframes,

keyCode:

key code used for Dataframe merging, "Maldi_code" (Default)

Value

both dataframes joined in a new dataframe and an output csv file

Examples

1
dfm<-MergeMetaData(Rn, "Bees project 2019-2020","Bees metadata.xlsx", "Filtered_Meta.csv")

Sautie/MALDITOFSpectraPA documentation built on Dec. 31, 2020, 4:28 p.m.