Class DiffAna
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.modules.diffana.Normalization
-
- fr.ens.biologie.genomique.eoulsan.modules.diffana.DiffAna
-
public class DiffAna extends Normalization
This class create and launch a R script to compute differential analysis.- Since:
- 1.0
- Author:
- Laurent Jourdren, Vivien Deshaies
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiffAna.DispersionFitType
Dispersion estimation fitType enum for DESeq differential analysisstatic class
DiffAna.DispersionMethod
Dispersion estimation method enum for DESeq differential analysisstatic class
DiffAna.DispersionSharingMode
Dispersion estimation sharingMode enum for DESeq differential analysis
-
Field Summary
-
Fields inherited from class fr.ens.biologie.genomique.eoulsan.modules.diffana.Normalization
design, executor, expressionFilesPrefix, expressionFilesSuffix, NORMALIZATION_FUNCTIONS, rConnection, TARGET_CREATION
-
-
Constructor Summary
Constructors Constructor Description DiffAna(RExecutor executor, Design design, DiffAna.DispersionMethod dispEstMethod, DiffAna.DispersionSharingMode dispEstSharingMode, DiffAna.DispersionFitType dispEstFitType)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
generateScript(Experiment experiment, TaskContext context)
Generate the R script.-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.modules.diffana.Normalization
checkRepTechGroupCoherence, escapeUnderScore, generateConditionPart, generateExpressionFileNamesPart, generateRepTechGroupPart, generateRnwpreamble, generateSampleIdsPart, generateSampleNamePart, isTechnicalReplicates, readStaticScript, replaceRtgNA, run, runRExecutor
-
-
-
-
Constructor Detail
-
DiffAna
public DiffAna(RExecutor executor, Design design, DiffAna.DispersionMethod dispEstMethod, DiffAna.DispersionSharingMode dispEstSharingMode, DiffAna.DispersionFitType dispEstFitType) throws EoulsanException
Public constructor.- Parameters:
executor
- executor to use to execute the differential analysisdesign
- The design objectdispEstMethod
- dispersion estimation methoddispEstSharingMode
- dispersion estimation sharing modedispEstFitType
- dispersion estimation fit type- Throws:
EoulsanException
- if an error occurs if connection to RServe server cannot be established
-
-
Method Detail
-
generateScript
protected String generateScript(Experiment experiment, TaskContext context) throws EoulsanException
Description copied from class:Normalization
Generate the R script.- Overrides:
generateScript
in classNormalization
- Parameters:
experiment
- the experimentcontext
- step context- Returns:
- String rScript R script to execute
- Throws:
EoulsanException
- if an error occurs while generate the R script
-
-