Description Usage Arguments Details Author(s)
View source: R/utils_metabolights.R
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"
1 | createMtblsMetaboliteFile(x, study_id)
|
x |
|
study_id |
|
#' @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)
Michael Witting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.