calcyt_mzrolldb: mzrollDB to dataframe for Cytoscape

View source: R/calcyt_mzrolldb.R

calcyt_mzrolldbR Documentation

mzrollDB to dataframe for Cytoscape

Description

This function extracts features, measurments, and samples from mzrollDB list as dataframes, maps IDs between mzrollDB and database, and reformats the dataframe to merge with dataframe of nodes/edges from Cytoscape

Usage

calcyt_mzrolldb(x, y, z)

Arguments

x

mzrollDB list that is already processed with claman::process_mzroll_multi function

y

a character variable with names of samples in the desired order to plot

z

database with metabolites' names and IDs as a dataframe

Value

dataframe with experimental data ready to merge with dataframe of nodes/edges from Cytoscape

Examples

x <- mzrolldb_X0208
y <- c("control_1", "control_2", "control_3", "treatment_1", "treatment_2", "treatment_3",)
z <- metabolites_database
calcyt_mzrolldb(x,y,z)

delfarahalireza/calcyt documentation built on April 28, 2022, 12:05 a.m.