comparison rgedgeRpaired_nocamera.xml @ 81:f86cb6b724ee draft

Uploaded
author fubar
date Wed, 26 Feb 2014 01:50:06 -0500
parents 335abf087bc5
children b21cd7bec41f
comparison
equal deleted inserted replaced
80:335abf087bc5 81:f86cb6b724ee
51 </param> 51 </param>
52 <when value="T"> 52 <when value="T">
53 <param name="edgeR_priordf" type="integer" value="10" size="3" 53 <param name="edgeR_priordf" type="integer" value="10" size="3"
54 label="prior.df for tagwise dispersion - larger value = more squeezing of tag dispersions to common dispersion. Replaces prior.n and prior.df = prior.n * residual.df" 54 label="prior.df for tagwise dispersion - larger value = more squeezing of tag dispersions to common dispersion. Replaces prior.n and prior.df = prior.n * residual.df"
55 help="10 = edgeR default. Use a larger value to 'smooth' small samples. See edgeR docs and note below"/> 55 help="10 = edgeR default. Use a larger value to 'smooth' small samples. See edgeR docs and note below"/>
56 <param name="edgeR_robust" type="select" value="20" size="3" 56 <param name="edgeR_robust_method" type="select" value="20" size="3"
57 label="Use robust dispersion method" 57 label="Use robust dispersion method"
58 help="Use ordinary, anscombe or deviance robust deviance estimates"> 58 help="Use ordinary, anscombe or deviance robust deviance estimates">
59 <option value="ordinary" selected="true">Use ordinary deviance estimates</option> 59 <option value="ordinary" selected="true">Use ordinary deviance estimates</option>
60 <option value="deviance">Use robust deviance estimates</option> 60 <option value="deviance">Use robust deviance estimates</option>
61 <option value="anscombe">use Anscombe robust deviance estimates</option> 61 <option value="anscombe">use Anscombe robust deviance estimates</option>
518 edgeIt = function (Count_Matrix=c(),group=c(),out_edgeR=F,out_VOOM=F,out_DESeq2=F,fdrtype='fdr',priordf=5, 518 edgeIt = function (Count_Matrix=c(),group=c(),out_edgeR=F,out_VOOM=F,out_DESeq2=F,fdrtype='fdr',priordf=5,
519 fdrthresh=0.05,outputdir='.', myTitle='Differential Counts',libSize=c(),useNDF=F, 519 fdrthresh=0.05,outputdir='.', myTitle='Differential Counts',libSize=c(),useNDF=F,
520 filterquantile=0.2, subjects=c(),mydesign=NULL, 520 filterquantile=0.2, subjects=c(),mydesign=NULL,
521 doDESeq2=T,doVoom=T,doCamera=T,doedgeR=T,org='hg19', 521 doDESeq2=T,doVoom=T,doCamera=T,doedgeR=T,org='hg19',
522 histgmt="", bigmt="/data/genomes/gsea/3.1/Abetterchoice_nocgp_c2_c3_c5_symbols_all.gmt", 522 histgmt="", bigmt="/data/genomes/gsea/3.1/Abetterchoice_nocgp_c2_c3_c5_symbols_all.gmt",
523 doCook=F,DESeq_fitType="parameteric",robustmeth='ordinary') 523 doCook=F,DESeq_fitType="parameteric",robust_meth='ordinary')
524 { 524 {
525 # Error handling 525 # Error handling
526 if (length(unique(group))!=2){ 526 if (length(unique(group))!=2){
527 print("Number of conditions identified in experiment does not equal 2") 527 print("Number of conditions identified in experiment does not equal 2")
528 q() 528 q()
837 #end if 837 #end if
838 838
839 #if $edgeR.doedgeR == "T": 839 #if $edgeR.doedgeR == "T":
840 out_edgeR = "$out_edgeR" 840 out_edgeR = "$out_edgeR"
841 edgeR_priordf = $edgeR.edgeR_priordf 841 edgeR_priordf = $edgeR.edgeR_priordf
842 edgeR_robust_meth = "$edgeR.edgeR_robust" 842 edgeR_robust_meth = "$edgeR.edgeR_robust_method"
843 #end if 843 #end if
844 844
845 845
846 if (sum(c(doedgeR,doVoom,doDESeq2)) == 0) 846 if (sum(c(doedgeR,doVoom,doDESeq2)) == 0)
847 { 847 {
895 colnames(Count_Matrix) = paste(group,colnames(Count_Matrix),sep="_") #Relable columns 895 colnames(Count_Matrix) = paste(group,colnames(Count_Matrix),sep="_") #Relable columns
896 results = edgeIt(Count_Matrix=Count_Matrix,group=group, out_edgeR=out_edgeR, out_VOOM=out_VOOM, out_DESeq2=out_DESeq2, 896 results = edgeIt(Count_Matrix=Count_Matrix,group=group, out_edgeR=out_edgeR, out_VOOM=out_VOOM, out_DESeq2=out_DESeq2,
897 fdrtype='BH',mydesign=NULL,priordf=edgeR_priordf,fdrthresh=fdrthresh,outputdir='.', 897 fdrtype='BH',mydesign=NULL,priordf=edgeR_priordf,fdrthresh=fdrthresh,outputdir='.',
898 myTitle=myTitle,useNDF=F,libSize=c(),filterquantile=fQ,subjects=subjects, 898 myTitle=myTitle,useNDF=F,libSize=c(),filterquantile=fQ,subjects=subjects,
899 doDESeq2=doDESeq2,doVoom=doVoom,doCamera=doCamera,doedgeR=doedgeR,org=org, 899 doDESeq2=doDESeq2,doVoom=doVoom,doCamera=doCamera,doedgeR=doedgeR,org=org,
900 histgmt=history_gmt,bigmt=builtin_gmt,DESeq_fitType=DESeq_fitType,robustmeth=edgeR_robust_meth) 900 histgmt=history_gmt,bigmt=builtin_gmt,DESeq_fitType=DESeq_fitType,robust_meth=edgeR_robust_meth)
901 sessionInfo() 901 sessionInfo()
902 ]]> 902 ]]>
903 </configfile> 903 </configfile>
904 </configfiles> 904 </configfiles>
905 <help> 905 <help>