make.analysis {sampleInfo} R Documentation

create the different expression analysis design of the control vs treatment

Description

Usage

make.analysis(sampleinfo, control, treatment);

Arguments

sampleinfo

a vector of the @T:SMRUCC.genomics.GCModeller.Workbench.ExperimentDesigner.SampleInfo. [as SampleInfo]

control

[as string]

treatment

[as string]

Details

the samples of the control group will be placed at the first in the generated analysis design object, and the samples of the treatment group will be placed after the control group, so that the order of the sample groups in the generated analysis design object is control vs treatment.

the generated analysis design object can be used by the limma analysis api(limma) or the t-test analysis api(deg.t.test) for run the different expression analysis.

Authors

phenotype_kit

Value

a DataAnalysis analysis design object that only contains the samples of the given control group and treatment group, the other sample groups in the input sample information data will be ignored.

clr value class

Examples

 imports "sampleInfo" from "phenotype_kit";
 
 let samples = sampleInfo(group_vec, group_vec);
 let analysis = make.analysis(samples, control = "control", treatment = "treat");
 
 let deg = limma(x, analysis);

[Package sampleInfo version 1.0.0.0 Index]