All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.ac.liv.pgb.analytica.lib.wrappedr.RDataTransformations Maven / Gradle / Ivy

Go to download

Library allowing generation of plots and data from proteomics and metabolomics mass spectrometry data through the use of R and java methods.

The newest version!
package uk.ac.liv.pgb.analytica.lib.wrappedr;

import java.util.HashSet;
import java.util.Set;
import uk.ac.liv.pgb.analytica.lib.wrappedr.converters.MzQuantMLToLFConverter;
import uk.ac.liv.pgb.analytica.lib.wrappedr.converters.RDataConverter;


/**
 * Describes the supported R data transformations/converters.
 * @author sperkins
 */
public final class RDataTransformations {

    /**
     * The singleton instance of this class.
     */
    private static final RDataTransformations INSTANCE = new RDataTransformations();

    /**
     * The collections of available transformations/converters.
     */
    private final Set conversions = new HashSet<>();
    {
        conversions.add(MzQuantMLToLFConverter.getInstance());
    }

    /**
     * Private constructor to prevent external instantiation.
     */
    private RDataTransformations() { }

    /**
     * Gets the singleton instance of this class.
     * @return The singleton instance of this class.
     */
    public static RDataTransformations getInstance() {
        return INSTANCE;
    }

    /**
     * Gets the collection of available transformations/converters.
     * @return The available transformations/converters.
     */
    public Set getConverters() {
        return this.conversions;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy