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

uk.ac.liv.pgb.analytica.lib.wrappedr.RSourceFile 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.io.File;

/**
 * Describes an R source file, and manifest file if available.
 * @author sperkins
 */
public final class RSourceFile {
    /**
     * The R source file.
     */
    private File sourceFile;

    /**
     * The manifest file.
     */
    private RManifest manifest;

    /**
     * Get the R source file.
     * @return The R source file.
     */
    public File getSourceFile() {
        return sourceFile;
    }

    /**
     * Set the R source file.
     * @param sourceFile The R source file.
     */
    public void setSourceFile(final File sourceFile) {
        this.sourceFile = sourceFile;
    }

    /**
     * Get the manifest file.
     * @return The manifest file.
     */
    public RManifest getManifest() {
        return manifest;
    }

    /**
     * Set the manifest file.
     * @param manifest The manifest file.
     */
    public void setManifest(final RManifest manifest) {
        this.manifest = manifest;
    }

    /**
     * Check whether this instance has a manifest file.
     * @return Whether this instance has a manifest file.
     */
    public boolean hasManifest() {
        return this.manifest != null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy