powered by
Convert a metadata's variable to factor.
convert_to_factor(dataset, metadata.var)
list representing the dataset from a metabolomics experiment.
name of the metadata's variable.
Returns the dataset with the metadata's variable converted to factor.
# NOT RUN { ## Example of converting a metadata's variable to factor data(cassavaPPD) dataset = convert_to_factor(cassavaPPD, "ppds") # }
Run the code above in your browser using DataLab