Mercurial > repos > fubar > differential_count_models
comparison rgedgeR/rgedgeRpaired.xml @ 17:b1cf0745bde5 draft
Uploaded
author | fubar |
---|---|
date | Sat, 27 Jul 2013 20:35:56 -0400 |
parents | cddf60746340 |
children | 1ba6b7c6f4df |
comparison
equal
deleted
inserted
replaced
16:cddf60746340 | 17:b1cf0745bde5 |
---|---|
59 <conditional name="DESeq2"> | 59 <conditional name="DESeq2"> |
60 <param name="doDESeq2" type="select" | 60 <param name="doDESeq2" type="select" |
61 label="Run the same model with DESeq2 and compare findings" | 61 label="Run the same model with DESeq2 and compare findings" |
62 help="DESeq2 is an update to the DESeq package. It uses different assumptions and methods to edgeR"> | 62 help="DESeq2 is an update to the DESeq package. It uses different assumptions and methods to edgeR"> |
63 <option value="F" selected="true">Do not run DESeq2</option> | 63 <option value="F" selected="true">Do not run DESeq2</option> |
64 <option value="T">Run DESeq2 (only works if NO second GLM factor supplied at present)</option> | 64 <option value="T">Run DESeq2</option> |
65 </param> | 65 </param> |
66 <when value="T"> | 66 <when value="T"> |
67 <param name="DESeq_fitType" type="select"> | 67 <param name="DESeq_fitType" type="select"> |
68 <option value="parametric" selected="true">Parametric (default) fit for dispersions</option> | 68 <option value="parametric" selected="true">Parametric (default) fit for dispersions</option> |
69 <option value="local">Local fit - use this if parametric fails</option> | 69 <option value="local">Local fit - this will automagically be used if parametric fit fails</option> |
70 <option value="mean">Mean dispersion fit- use this if you really understand what you're doing - read the fine manual</option> | 70 <option value="mean">Mean dispersion fit- use this if you really understand what you're doing - read the fine manual linked below in the documentation</option> |
71 </param> | 71 </param> |
72 </when> | 72 </when> |
73 <when value="F"> </when> | 73 <when value="F"> </when> |
74 </conditional> | 74 </conditional> |
75 <param name="doVoom" type="select" | 75 <param name="doVoom" type="select" |
76 label="Run the same model with Voom/limma and compare findings" | 76 label="Run the same model with Voom/limma and compare findings" |
77 help="The VOOM transformation allows analysis of count data using limma"> | 77 help="Voom uses counts per million and a precise transformation of variance so count data can be analysed using limma"> |
78 <option value="F" selected="true">Do not run VOOM</option> | 78 <option value="F" selected="true">Do not run VOOM</option> |
79 <option value="T">Run VOOM</option> | 79 <option value="T">Run VOOM</option> |
80 </param> | 80 </param> |
81 <param name="fdrthresh" type="float" value="0.05" size="5" label="P value threshold for FDR filtering for amily wise error rate control" | 81 <param name="fdrthresh" type="float" value="0.05" size="5" label="P value threshold for FDR filtering for amily wise error rate control" |
82 help="Conventional default value of 0.05 recommended"/> | 82 help="Conventional default value of 0.05 recommended"/> |
689 #if $edgeR.doedgeR == "T": | 689 #if $edgeR.doedgeR == "T": |
690 out_edgeR = "$out_edgeR" | 690 out_edgeR = "$out_edgeR" |
691 edgeR_priordf = $edgeR.edgeR_priordf | 691 edgeR_priordf = $edgeR.edgeR_priordf |
692 #end if | 692 #end if |
693 | 693 |
694 if (sum(c(doedgeR,doVoom,doDESeq2)) == 0) | |
695 { | |
696 write("No methods chosen - nothing to do! Please try again after choosing one or more methods", stderr()) | |
697 quit(save="no") | |
698 } | |
699 | |
694 Out_Dir = "$html_file.files_path" | 700 Out_Dir = "$html_file.files_path" |
695 Input = "$input1" | 701 Input = "$input1" |
696 TreatmentName = "$treatment_name" | 702 TreatmentName = "$treatment_name" |
697 TreatmentCols = "$Treat_cols" | 703 TreatmentCols = "$Treat_cols" |
698 ControlName = "$control_name" | 704 ControlName = "$control_name" |
704 useNDF = $useNDF | 710 useNDF = $useNDF |
705 fQ = $fQ # non-differential centile cutoff | 711 fQ = $fQ # non-differential centile cutoff |
706 myTitle = "$title" | 712 myTitle = "$title" |
707 subjects = c($subjectids) | 713 subjects = c($subjectids) |
708 nsubj = length(subjects) | 714 nsubj = length(subjects) |
709 if (nsubj > 0) { | |
710 if (doDESeq2) { | |
711 print('WARNING - cannot yet use DESeq2 for 2 way anova - see the docs') | |
712 doDESeq2 = F | |
713 } | |
714 } | |
715 TCols = as.numeric(strsplit(TreatmentCols,",")[[1]])-1 | 715 TCols = as.numeric(strsplit(TreatmentCols,",")[[1]])-1 |
716 CCols = as.numeric(strsplit(ControlCols,",")[[1]])-1 | 716 CCols = as.numeric(strsplit(ControlCols,",")[[1]])-1 |
717 cat('Got TCols=') | 717 cat('Got TCols=') |
718 cat(TCols) | 718 cat(TCols) |
719 cat('; CCols=') | 719 cat('; CCols=') |