createMtblsMetaboliteFile: Writing template for Metabolights metabolite file

Description Usage Arguments Details Author(s)

View source: R/utils_metabolights.R

Description

createMtblsMetaboliteFile Exports data read from a .gda file to a Metabolights MAF file. A study ID is required to generate consistent files. To be used this function requires the following column annotations to be present: "Source C", "Sample C", "Assay C", "File C", "Sample Type C"

Usage

1

Arguments

x

list List with data read from .gda file

study_id

character Study ID from Metabolights or place holder (default is MTBLSXXXX)

Details

#' @title Writing template for Metabolights sample file #' #' @description #' #' createMtblsSampleFile Exports data read from a .gda file to a Metabolights #' sample file. A study ID is required to generate consistent files. To be #' used this function requires the following column annotations to be present: #' "Source C", "Sample C", "Assay C", "File C", "Sample Type C" #' #' @param x list List with data read from .gda file #' @param study_id character Study ID from Metabolights or place holder #' (default is MTBLSXXXX) #' @param study_factors character Potentially present study factors #' @param metadata list Additional metadata, such a organism etc. #'#' #' @author Michael Witting #' #' @export #' #' @examples #' #' create_assay_file <- function(x, study_id)

Author(s)

Michael Witting


michaelwitting/genedataRutils documentation built on April 30, 2021, 5:11 p.m.