miga-base 0.7.26.0 → 1.0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/miga/_data/aai-intax.blast.tsv.gz +0 -0
- data/lib/miga/_data/aai-intax.diamond.tsv.gz +0 -0
- data/lib/miga/_data/aai-novel.blast.tsv.gz +0 -0
- data/lib/miga/_data/aai-novel.diamond.tsv.gz +0 -0
- data/lib/miga/cli/action/classify_wf.rb +2 -2
- data/lib/miga/cli/action/derep_wf.rb +1 -1
- data/lib/miga/cli/action/doctor.rb +57 -14
- data/lib/miga/cli/action/doctor/base.rb +47 -23
- data/lib/miga/cli/action/init.rb +11 -7
- data/lib/miga/cli/action/init/files_helper.rb +1 -0
- data/lib/miga/cli/action/ncbi_get.rb +3 -3
- data/lib/miga/cli/action/tax_dist.rb +2 -2
- data/lib/miga/cli/action/wf.rb +5 -4
- data/lib/miga/common.rb +1 -0
- data/lib/miga/daemon.rb +11 -4
- data/lib/miga/dataset/result.rb +10 -6
- data/lib/miga/json.rb +5 -4
- data/lib/miga/metadata.rb +5 -1
- data/lib/miga/parallel.rb +36 -0
- data/lib/miga/project.rb +8 -8
- data/lib/miga/project/base.rb +4 -4
- data/lib/miga/project/result.rb +2 -2
- data/lib/miga/sqlite.rb +10 -2
- data/lib/miga/version.rb +23 -9
- data/scripts/aai_distances.bash +16 -18
- data/scripts/ani_distances.bash +16 -17
- data/scripts/assembly.bash +31 -16
- data/scripts/haai_distances.bash +3 -27
- data/scripts/miga.bash +6 -4
- data/scripts/p.bash +1 -1
- data/scripts/read_quality.bash +9 -18
- data/scripts/trimmed_fasta.bash +14 -30
- data/scripts/trimmed_reads.bash +36 -36
- data/test/parallel_test.rb +31 -0
- data/test/project_test.rb +2 -1
- data/test/remote_dataset_test.rb +1 -1
- data/utils/FastAAI/00.Libraries/01.SCG_HMMs/Archaea_SCG.hmm +41964 -0
- data/utils/FastAAI/00.Libraries/01.SCG_HMMs/Bacteria_SCG.hmm +32439 -0
- data/utils/FastAAI/00.Libraries/01.SCG_HMMs/Complete_SCG_DB.hmm +62056 -0
- data/utils/FastAAI/FastAAI/FastAAI +1336 -0
- data/utils/FastAAI/README.md +84 -0
- data/utils/FastAAI/kAAI_v1.0_virus.py +1296 -0
- data/utils/distance/commands.rb +1 -0
- data/utils/distance/database.rb +0 -1
- data/utils/distance/runner.rb +2 -4
- data/utils/enveomics/Docs/recplot2.md +244 -0
- data/utils/enveomics/Examples/aai-matrix.bash +66 -0
- data/utils/enveomics/Examples/ani-matrix.bash +66 -0
- data/utils/enveomics/Examples/essential-phylogeny.bash +105 -0
- data/utils/enveomics/Examples/unus-genome-phylogeny.bash +100 -0
- data/utils/enveomics/LICENSE.txt +73 -0
- data/utils/enveomics/Makefile +52 -0
- data/utils/enveomics/Manifest/Tasks/aasubs.json +103 -0
- data/utils/enveomics/Manifest/Tasks/blasttab.json +786 -0
- data/utils/enveomics/Manifest/Tasks/distances.json +161 -0
- data/utils/enveomics/Manifest/Tasks/fasta.json +802 -0
- data/utils/enveomics/Manifest/Tasks/fastq.json +291 -0
- data/utils/enveomics/Manifest/Tasks/graphics.json +126 -0
- data/utils/enveomics/Manifest/Tasks/mapping.json +137 -0
- data/utils/enveomics/Manifest/Tasks/ogs.json +382 -0
- data/utils/enveomics/Manifest/Tasks/other.json +906 -0
- data/utils/enveomics/Manifest/Tasks/remote.json +355 -0
- data/utils/enveomics/Manifest/Tasks/sequence-identity.json +638 -0
- data/utils/enveomics/Manifest/Tasks/tables.json +308 -0
- data/utils/enveomics/Manifest/Tasks/trees.json +68 -0
- data/utils/enveomics/Manifest/Tasks/variants.json +111 -0
- data/utils/enveomics/Manifest/categories.json +165 -0
- data/utils/enveomics/Manifest/examples.json +154 -0
- data/utils/enveomics/Manifest/tasks.json +4 -0
- data/utils/enveomics/Pipelines/assembly.pbs/CONFIG.mock.bash +69 -0
- data/utils/enveomics/Pipelines/assembly.pbs/FastA.N50.pl +1 -0
- data/utils/enveomics/Pipelines/assembly.pbs/FastA.filterN.pl +1 -0
- data/utils/enveomics/Pipelines/assembly.pbs/FastA.length.pl +1 -0
- data/utils/enveomics/Pipelines/assembly.pbs/README.md +189 -0
- data/utils/enveomics/Pipelines/assembly.pbs/RUNME-2.bash +112 -0
- data/utils/enveomics/Pipelines/assembly.pbs/RUNME-3.bash +23 -0
- data/utils/enveomics/Pipelines/assembly.pbs/RUNME-4.bash +44 -0
- data/utils/enveomics/Pipelines/assembly.pbs/RUNME.bash +50 -0
- data/utils/enveomics/Pipelines/assembly.pbs/kSelector.R +37 -0
- data/utils/enveomics/Pipelines/assembly.pbs/newbler.pbs +68 -0
- data/utils/enveomics/Pipelines/assembly.pbs/newbler_preparator.pl +49 -0
- data/utils/enveomics/Pipelines/assembly.pbs/soap.pbs +80 -0
- data/utils/enveomics/Pipelines/assembly.pbs/stats.pbs +57 -0
- data/utils/enveomics/Pipelines/assembly.pbs/velvet.pbs +63 -0
- data/utils/enveomics/Pipelines/blast.pbs/01.pbs.bash +38 -0
- data/utils/enveomics/Pipelines/blast.pbs/02.pbs.bash +73 -0
- data/utils/enveomics/Pipelines/blast.pbs/03.pbs.bash +21 -0
- data/utils/enveomics/Pipelines/blast.pbs/BlastTab.recover_job.pl +72 -0
- data/utils/enveomics/Pipelines/blast.pbs/CONFIG.mock.bash +98 -0
- data/utils/enveomics/Pipelines/blast.pbs/FastA.split.pl +1 -0
- data/utils/enveomics/Pipelines/blast.pbs/README.md +127 -0
- data/utils/enveomics/Pipelines/blast.pbs/RUNME.bash +109 -0
- data/utils/enveomics/Pipelines/blast.pbs/TASK.check.bash +128 -0
- data/utils/enveomics/Pipelines/blast.pbs/TASK.dry.bash +16 -0
- data/utils/enveomics/Pipelines/blast.pbs/TASK.eo.bash +22 -0
- data/utils/enveomics/Pipelines/blast.pbs/TASK.pause.bash +26 -0
- data/utils/enveomics/Pipelines/blast.pbs/TASK.run.bash +89 -0
- data/utils/enveomics/Pipelines/blast.pbs/sentinel.pbs.bash +29 -0
- data/utils/enveomics/Pipelines/idba.pbs/README.md +49 -0
- data/utils/enveomics/Pipelines/idba.pbs/RUNME.bash +95 -0
- data/utils/enveomics/Pipelines/idba.pbs/run.pbs +56 -0
- data/utils/enveomics/Pipelines/trim.pbs/README.md +54 -0
- data/utils/enveomics/Pipelines/trim.pbs/RUNME.bash +70 -0
- data/utils/enveomics/Pipelines/trim.pbs/run.pbs +130 -0
- data/utils/enveomics/README.md +42 -0
- data/utils/enveomics/Scripts/AAsubs.log2ratio.rb +171 -0
- data/utils/enveomics/Scripts/Aln.cat.rb +221 -0
- data/utils/enveomics/Scripts/Aln.convert.pl +35 -0
- data/utils/enveomics/Scripts/AlphaDiversity.pl +152 -0
- data/utils/enveomics/Scripts/BedGraph.tad.rb +93 -0
- data/utils/enveomics/Scripts/BedGraph.window.rb +71 -0
- data/utils/enveomics/Scripts/BlastPairwise.AAsubs.pl +102 -0
- data/utils/enveomics/Scripts/BlastTab.addlen.rb +63 -0
- data/utils/enveomics/Scripts/BlastTab.advance.bash +48 -0
- data/utils/enveomics/Scripts/BlastTab.best_hit_sorted.pl +55 -0
- data/utils/enveomics/Scripts/BlastTab.catsbj.pl +104 -0
- data/utils/enveomics/Scripts/BlastTab.cogCat.rb +76 -0
- data/utils/enveomics/Scripts/BlastTab.filter.pl +47 -0
- data/utils/enveomics/Scripts/BlastTab.kegg_pep2path_rest.pl +194 -0
- data/utils/enveomics/Scripts/BlastTab.metaxaPrep.pl +104 -0
- data/utils/enveomics/Scripts/BlastTab.pairedHits.rb +157 -0
- data/utils/enveomics/Scripts/BlastTab.recplot2.R +48 -0
- data/utils/enveomics/Scripts/BlastTab.seqdepth.pl +86 -0
- data/utils/enveomics/Scripts/BlastTab.seqdepth_ZIP.pl +119 -0
- data/utils/enveomics/Scripts/BlastTab.seqdepth_nomedian.pl +86 -0
- data/utils/enveomics/Scripts/BlastTab.subsample.pl +47 -0
- data/utils/enveomics/Scripts/BlastTab.sumPerHit.pl +114 -0
- data/utils/enveomics/Scripts/BlastTab.taxid2taxrank.pl +90 -0
- data/utils/enveomics/Scripts/BlastTab.topHits_sorted.rb +101 -0
- data/utils/enveomics/Scripts/Chao1.pl +97 -0
- data/utils/enveomics/Scripts/CharTable.classify.rb +234 -0
- data/utils/enveomics/Scripts/EBIseq2tax.rb +83 -0
- data/utils/enveomics/Scripts/FastA.N50.pl +60 -0
- data/utils/enveomics/Scripts/FastA.extract.rb +152 -0
- data/utils/enveomics/Scripts/FastA.filter.pl +52 -0
- data/utils/enveomics/Scripts/FastA.filterLen.pl +28 -0
- data/utils/enveomics/Scripts/FastA.filterN.pl +60 -0
- data/utils/enveomics/Scripts/FastA.fragment.rb +100 -0
- data/utils/enveomics/Scripts/FastA.gc.pl +42 -0
- data/utils/enveomics/Scripts/FastA.interpose.pl +93 -0
- data/utils/enveomics/Scripts/FastA.length.pl +38 -0
- data/utils/enveomics/Scripts/FastA.mask.rb +89 -0
- data/utils/enveomics/Scripts/FastA.per_file.pl +36 -0
- data/utils/enveomics/Scripts/FastA.qlen.pl +57 -0
- data/utils/enveomics/Scripts/FastA.rename.pl +65 -0
- data/utils/enveomics/Scripts/FastA.revcom.pl +23 -0
- data/utils/enveomics/Scripts/FastA.sample.rb +98 -0
- data/utils/enveomics/Scripts/FastA.slider.pl +85 -0
- data/utils/enveomics/Scripts/FastA.split.pl +55 -0
- data/utils/enveomics/Scripts/FastA.split.rb +79 -0
- data/utils/enveomics/Scripts/FastA.subsample.pl +131 -0
- data/utils/enveomics/Scripts/FastA.tag.rb +65 -0
- data/utils/enveomics/Scripts/FastA.toFastQ.rb +69 -0
- data/utils/enveomics/Scripts/FastA.wrap.rb +48 -0
- data/utils/enveomics/Scripts/FastQ.filter.pl +54 -0
- data/utils/enveomics/Scripts/FastQ.interpose.pl +90 -0
- data/utils/enveomics/Scripts/FastQ.maskQual.rb +89 -0
- data/utils/enveomics/Scripts/FastQ.offset.pl +90 -0
- data/utils/enveomics/Scripts/FastQ.split.pl +53 -0
- data/utils/enveomics/Scripts/FastQ.tag.rb +70 -0
- data/utils/enveomics/Scripts/FastQ.test-error.rb +81 -0
- data/utils/enveomics/Scripts/FastQ.toFastA.awk +24 -0
- data/utils/enveomics/Scripts/GFF.catsbj.pl +127 -0
- data/utils/enveomics/Scripts/GenBank.add_fields.rb +84 -0
- data/utils/enveomics/Scripts/HMM.essential.rb +351 -0
- data/utils/enveomics/Scripts/HMM.haai.rb +168 -0
- data/utils/enveomics/Scripts/HMMsearch.extractIds.rb +83 -0
- data/utils/enveomics/Scripts/JPlace.distances.rb +88 -0
- data/utils/enveomics/Scripts/JPlace.to_iToL.rb +320 -0
- data/utils/enveomics/Scripts/M5nr.getSequences.rb +81 -0
- data/utils/enveomics/Scripts/MeTaxa.distribution.pl +198 -0
- data/utils/enveomics/Scripts/MyTaxa.fragsByTax.pl +35 -0
- data/utils/enveomics/Scripts/MyTaxa.seq-taxrank.rb +49 -0
- data/utils/enveomics/Scripts/NCBIacc2tax.rb +92 -0
- data/utils/enveomics/Scripts/Newick.autoprune.R +27 -0
- data/utils/enveomics/Scripts/RAxML-EPA.to_iToL.pl +228 -0
- data/utils/enveomics/Scripts/RecPlot2.compareIdentities.R +32 -0
- data/utils/enveomics/Scripts/RefSeq.download.bash +48 -0
- data/utils/enveomics/Scripts/SRA.download.bash +55 -0
- data/utils/enveomics/Scripts/TRIBS.plot-test.R +36 -0
- data/utils/enveomics/Scripts/TRIBS.test.R +39 -0
- data/utils/enveomics/Scripts/Table.barplot.R +31 -0
- data/utils/enveomics/Scripts/Table.df2dist.R +30 -0
- data/utils/enveomics/Scripts/Table.filter.pl +61 -0
- data/utils/enveomics/Scripts/Table.merge.pl +77 -0
- data/utils/enveomics/Scripts/Table.prefScore.R +60 -0
- data/utils/enveomics/Scripts/Table.replace.rb +69 -0
- data/utils/enveomics/Scripts/Table.round.rb +63 -0
- data/utils/enveomics/Scripts/Table.split.pl +57 -0
- data/utils/enveomics/Scripts/Taxonomy.silva2ncbi.rb +227 -0
- data/utils/enveomics/Scripts/VCF.KaKs.rb +147 -0
- data/utils/enveomics/Scripts/VCF.SNPs.rb +88 -0
- data/utils/enveomics/Scripts/aai.rb +419 -0
- data/utils/enveomics/Scripts/ani.rb +362 -0
- data/utils/enveomics/Scripts/anir.rb +137 -0
- data/utils/enveomics/Scripts/clust.rand.rb +102 -0
- data/utils/enveomics/Scripts/gi2tax.rb +103 -0
- data/utils/enveomics/Scripts/in_silico_GA_GI.pl +96 -0
- data/utils/enveomics/Scripts/lib/data/dupont_2012_essential.hmm.gz +0 -0
- data/utils/enveomics/Scripts/lib/data/lee_2019_essential.hmm.gz +0 -0
- data/utils/enveomics/Scripts/lib/enveomics.R +1 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/anir.rb +293 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/bm_set.rb +175 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/enveomics.rb +24 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/errors.rb +17 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/gmm_em.rb +30 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/jplace.rb +253 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/match.rb +63 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/og.rb +182 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/rbm.rb +49 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/remote_data.rb +74 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/seq_range.rb +237 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/stats.rb +3 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/stats/rand.rb +31 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/stats/sample.rb +152 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/utils.rb +73 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/vcf.rb +135 -0
- data/utils/enveomics/Scripts/ogs.annotate.rb +88 -0
- data/utils/enveomics/Scripts/ogs.core-pan.rb +160 -0
- data/utils/enveomics/Scripts/ogs.extract.rb +125 -0
- data/utils/enveomics/Scripts/ogs.mcl.rb +186 -0
- data/utils/enveomics/Scripts/ogs.rb +104 -0
- data/utils/enveomics/Scripts/ogs.stats.rb +131 -0
- data/utils/enveomics/Scripts/rbm-legacy.rb +172 -0
- data/utils/enveomics/Scripts/rbm.rb +100 -0
- data/utils/enveomics/Scripts/sam.filter.rb +148 -0
- data/utils/enveomics/Tests/Makefile +10 -0
- data/utils/enveomics/Tests/Mgen_M2288.faa +3189 -0
- data/utils/enveomics/Tests/Mgen_M2288.fna +8282 -0
- data/utils/enveomics/Tests/Mgen_M2321.fna +8288 -0
- data/utils/enveomics/Tests/Nequ_Kin4M.faa +2970 -0
- data/utils/enveomics/Tests/Xanthomonas_oryzae-PilA.tribs.Rdata +0 -0
- data/utils/enveomics/Tests/Xanthomonas_oryzae-PilA.txt +7 -0
- data/utils/enveomics/Tests/Xanthomonas_oryzae.aai-mat.tsv +17 -0
- data/utils/enveomics/Tests/Xanthomonas_oryzae.aai.tsv +137 -0
- data/utils/enveomics/Tests/a_mg.cds-go.blast.tsv +123 -0
- data/utils/enveomics/Tests/a_mg.reads-cds.blast.tsv +200 -0
- data/utils/enveomics/Tests/a_mg.reads-cds.counts.tsv +55 -0
- data/utils/enveomics/Tests/alkB.nwk +1 -0
- data/utils/enveomics/Tests/anthrax-cansnp-data.tsv +13 -0
- data/utils/enveomics/Tests/anthrax-cansnp-key.tsv +17 -0
- data/utils/enveomics/Tests/hiv1.faa +59 -0
- data/utils/enveomics/Tests/hiv1.fna +134 -0
- data/utils/enveomics/Tests/hiv2.faa +70 -0
- data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv +233 -0
- data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv.lim +1 -0
- data/utils/enveomics/Tests/hiv_mix-hiv1.blast.tsv.rec +233 -0
- data/utils/enveomics/Tests/phyla_counts.tsv +10 -0
- data/utils/enveomics/Tests/primate_lentivirus.ogs +11 -0
- data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-hiv1.rbm +9 -0
- data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-hiv2.rbm +8 -0
- data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv1-siv.rbm +6 -0
- data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv2-hiv2.rbm +9 -0
- data/utils/enveomics/Tests/primate_lentivirus.rbm/hiv2-siv.rbm +6 -0
- data/utils/enveomics/Tests/primate_lentivirus.rbm/siv-siv.rbm +6 -0
- data/utils/enveomics/build_enveomics_r.bash +45 -0
- data/utils/enveomics/enveomics.R/DESCRIPTION +31 -0
- data/utils/enveomics/enveomics.R/NAMESPACE +39 -0
- data/utils/enveomics/enveomics.R/R/autoprune.R +155 -0
- data/utils/enveomics/enveomics.R/R/barplot.R +184 -0
- data/utils/enveomics/enveomics.R/R/cliopts.R +135 -0
- data/utils/enveomics/enveomics.R/R/df2dist.R +154 -0
- data/utils/enveomics/enveomics.R/R/growthcurve.R +331 -0
- data/utils/enveomics/enveomics.R/R/prefscore.R +79 -0
- data/utils/enveomics/enveomics.R/R/recplot.R +354 -0
- data/utils/enveomics/enveomics.R/R/recplot2.R +1631 -0
- data/utils/enveomics/enveomics.R/R/tribs.R +583 -0
- data/utils/enveomics/enveomics.R/R/utils.R +80 -0
- data/utils/enveomics/enveomics.R/README.md +81 -0
- data/utils/enveomics/enveomics.R/data/growth.curves.rda +0 -0
- data/utils/enveomics/enveomics.R/data/phyla.counts.rda +0 -0
- data/utils/enveomics/enveomics.R/man/cash-enve.GrowthCurve-method.Rd +16 -0
- data/utils/enveomics/enveomics.R/man/cash-enve.RecPlot2-method.Rd +16 -0
- data/utils/enveomics/enveomics.R/man/cash-enve.RecPlot2.Peak-method.Rd +16 -0
- data/utils/enveomics/enveomics.R/man/enve.GrowthCurve-class.Rd +25 -0
- data/utils/enveomics/enveomics.R/man/enve.TRIBS-class.Rd +46 -0
- data/utils/enveomics/enveomics.R/man/enve.TRIBS.merge.Rd +23 -0
- data/utils/enveomics/enveomics.R/man/enve.TRIBStest-class.Rd +47 -0
- data/utils/enveomics/enveomics.R/man/enve.__prune.iter.Rd +23 -0
- data/utils/enveomics/enveomics.R/man/enve.__prune.reduce.Rd +23 -0
- data/utils/enveomics/enveomics.R/man/enve.__tribs.Rd +40 -0
- data/utils/enveomics/enveomics.R/man/enve.barplot.Rd +103 -0
- data/utils/enveomics/enveomics.R/man/enve.cliopts.Rd +67 -0
- data/utils/enveomics/enveomics.R/man/enve.col.alpha.Rd +24 -0
- data/utils/enveomics/enveomics.R/man/enve.col2alpha.Rd +19 -0
- data/utils/enveomics/enveomics.R/man/enve.df2dist.Rd +45 -0
- data/utils/enveomics/enveomics.R/man/enve.df2dist.group.Rd +44 -0
- data/utils/enveomics/enveomics.R/man/enve.df2dist.list.Rd +47 -0
- data/utils/enveomics/enveomics.R/man/enve.growthcurve.Rd +75 -0
- data/utils/enveomics/enveomics.R/man/enve.prefscore.Rd +50 -0
- data/utils/enveomics/enveomics.R/man/enve.prune.dist.Rd +44 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot.Rd +139 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2-class.Rd +45 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.ANIr.Rd +24 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.Rd +77 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.__counts.Rd +25 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.__peakHist.Rd +21 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.__whichClosestPeak.Rd +19 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.changeCutoff.Rd +19 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.compareIdentities.Rd +47 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.coordinates.Rd +29 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.corePeak.Rd +18 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.extractWindows.Rd +45 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.Rd +36 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__em_e.Rd +19 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__em_m.Rd +19 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__emauto_one.Rd +27 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__mow_one.Rd +52 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__mower.Rd +17 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.em.Rd +51 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.emauto.Rd +43 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.mower.Rd +82 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.peak-class.Rd +59 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.seqdepth.Rd +27 -0
- data/utils/enveomics/enveomics.R/man/enve.recplot2.windowDepthThreshold.Rd +36 -0
- data/utils/enveomics/enveomics.R/man/enve.selvector.Rd +23 -0
- data/utils/enveomics/enveomics.R/man/enve.tribs.Rd +68 -0
- data/utils/enveomics/enveomics.R/man/enve.tribs.test.Rd +28 -0
- data/utils/enveomics/enveomics.R/man/enve.truncate.Rd +27 -0
- data/utils/enveomics/enveomics.R/man/growth.curves.Rd +14 -0
- data/utils/enveomics/enveomics.R/man/phyla.counts.Rd +13 -0
- data/utils/enveomics/enveomics.R/man/plot.enve.GrowthCurve.Rd +78 -0
- data/utils/enveomics/enveomics.R/man/plot.enve.TRIBS.Rd +46 -0
- data/utils/enveomics/enveomics.R/man/plot.enve.TRIBStest.Rd +45 -0
- data/utils/enveomics/enveomics.R/man/plot.enve.recplot2.Rd +125 -0
- data/utils/enveomics/enveomics.R/man/summary.enve.GrowthCurve.Rd +19 -0
- data/utils/enveomics/enveomics.R/man/summary.enve.TRIBS.Rd +19 -0
- data/utils/enveomics/enveomics.R/man/summary.enve.TRIBStest.Rd +19 -0
- data/utils/enveomics/globals.mk +8 -0
- data/utils/enveomics/manifest.json +9 -0
- data/utils/multitrim/Multitrim How-To.pdf +0 -0
- data/utils/multitrim/README.md +67 -0
- data/utils/multitrim/multitrim.py +1555 -0
- data/utils/multitrim/multitrim.yml +13 -0
- data/utils/requirements.txt +4 -3
- metadata +304 -3
@@ -0,0 +1,59 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\docType{class}
|
4
|
+
\name{enve.RecPlot2.Peak-class}
|
5
|
+
\alias{enve.RecPlot2.Peak-class}
|
6
|
+
\alias{enve.RecPlot2.Peak}
|
7
|
+
\title{Enveomics: Recruitment Plot (2) Peak - S4 Class}
|
8
|
+
\description{
|
9
|
+
Enve-omics representation of a peak in the sequencing depth histogram
|
10
|
+
of a Recruitment plot (see \code{\link{enve.recplot2.findPeaks}}).
|
11
|
+
}
|
12
|
+
\section{Slots}{
|
13
|
+
|
14
|
+
\describe{
|
15
|
+
\item{\code{dist}}{\code{(character)}
|
16
|
+
Distribution of the peak. Currently supported: \code{norm} (normal) and \code{sn}
|
17
|
+
(skew-normal).}
|
18
|
+
|
19
|
+
\item{\code{values}}{\code{(numeric)}
|
20
|
+
Sequencing depth values predicted to conform the peak.}
|
21
|
+
|
22
|
+
\item{\code{values.res}}{\code{(numeric)}
|
23
|
+
Sequencing depth values not explained by this or previously identified
|
24
|
+
peaks.}
|
25
|
+
|
26
|
+
\item{\code{mode}}{\code{(numeric)}
|
27
|
+
Seed-value of mode anchoring the peak.}
|
28
|
+
|
29
|
+
\item{\code{param.hat}}{\code{(list)}
|
30
|
+
Parameters of the distribution. A list of two values if dist=\code{norm} (sd
|
31
|
+
and mean), or three values if dist=\code{sn}(omega=scale, alpha=shape, and
|
32
|
+
xi=location). Note that the "dispersion" parameter is always first and
|
33
|
+
the "location" parameter is always last.}
|
34
|
+
|
35
|
+
\item{\code{n.hat}}{\code{(numeric)}
|
36
|
+
Number of bins estimated to be explained by this peak. This should
|
37
|
+
ideally be equal to the length of \code{values}, but it's not an integer.}
|
38
|
+
|
39
|
+
\item{\code{n.total}}{\code{(numeric)}
|
40
|
+
Total number of bins from which the peak was extracted. I.e., total
|
41
|
+
number of position bins with non-zero sequencing depth in the recruitment
|
42
|
+
plot (regardless of peak count).}
|
43
|
+
|
44
|
+
\item{\code{err.res}}{\code{(numeric)}
|
45
|
+
Error left after adding the peak (mower) or log-likelihood (em or emauto).}
|
46
|
+
|
47
|
+
\item{\code{merge.logdist}}{\code{(numeric)}
|
48
|
+
Attempted \code{merge.logdist} parameter.}
|
49
|
+
|
50
|
+
\item{\code{seq.depth}}{\code{(numeric)}
|
51
|
+
Best estimate available for the sequencing depth of the peak (centrality).}
|
52
|
+
|
53
|
+
\item{\code{log}}{\code{(logical)}
|
54
|
+
Indicates if the estimation was performed in natural logarithm space.}
|
55
|
+
}}
|
56
|
+
|
57
|
+
\author{
|
58
|
+
Luis M. Rodriguez-R [aut, cre]
|
59
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2.seqdepth}
|
4
|
+
\alias{enve.recplot2.seqdepth}
|
5
|
+
\title{Enveomics: Recruitment Plot (2) Sequencing Depth}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2.seqdepth(x, sel, low.identity = FALSE)
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{x}{\code{\link{enve.RecPlot2}} object.}
|
11
|
+
|
12
|
+
\item{sel}{Window(s) for which the sequencing depth is to be calculated. If not
|
13
|
+
passed, it returns the sequencing depth of all windows.}
|
14
|
+
|
15
|
+
\item{low.identity}{A logical indicating if the sequencing depth is to be estimated only
|
16
|
+
with low-identity matches. By default, only high-identity matches are
|
17
|
+
used.}
|
18
|
+
}
|
19
|
+
\value{
|
20
|
+
Returns a numeric vector of sequencing depths (in bp/bp).
|
21
|
+
}
|
22
|
+
\description{
|
23
|
+
Calculate the sequencing depth of the given window(s).
|
24
|
+
}
|
25
|
+
\author{
|
26
|
+
Luis M. Rodriguez-R [aut, cre]
|
27
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2.windowDepthThreshold}
|
4
|
+
\alias{enve.recplot2.windowDepthThreshold}
|
5
|
+
\title{Enveomics: Recruitment Plot (2) Window Depth Threshold}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2.windowDepthThreshold(
|
8
|
+
rp,
|
9
|
+
peak,
|
10
|
+
lower.tail = TRUE,
|
11
|
+
significance = 0.05
|
12
|
+
)
|
13
|
+
}
|
14
|
+
\arguments{
|
15
|
+
\item{rp}{Recruitment plot, an \code{\link{enve.RecPlot2}} object.}
|
16
|
+
|
17
|
+
\item{peak}{Peak, an \code{\link{enve.RecPlot2.Peak}} object. If list, it is assumed to be a
|
18
|
+
list of \code{\link{enve.RecPlot2.Peak}} objects, in which case the core peak is
|
19
|
+
used (see \code{\link{enve.recplot2.corePeak}}).}
|
20
|
+
|
21
|
+
\item{lower.tail}{If \code{FALSE}, it returns windows significantly above the peak in
|
22
|
+
sequencing depth.}
|
23
|
+
|
24
|
+
\item{significance}{Significance threshold (alpha) to select windows.}
|
25
|
+
}
|
26
|
+
\value{
|
27
|
+
Returns a float. The units are depth if the peaks were estimated in
|
28
|
+
linear scale, or log-depth otherwise (\code{peak$log}).
|
29
|
+
}
|
30
|
+
\description{
|
31
|
+
Identifies the threshold below which windows should be identified as
|
32
|
+
variable or absent.
|
33
|
+
}
|
34
|
+
\author{
|
35
|
+
Luis M. Rodriguez-R [aut, cre]
|
36
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/utils.R
|
3
|
+
\name{enve.selvector}
|
4
|
+
\alias{enve.selvector}
|
5
|
+
\title{Enveomics: Selection vector}
|
6
|
+
\usage{
|
7
|
+
enve.selvector(sel, dim.names)
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{sel}{A vector of numbers, characters, or booleans.}
|
11
|
+
|
12
|
+
\item{dim.names}{A vector of names from which to select.}
|
13
|
+
}
|
14
|
+
\value{
|
15
|
+
Returns a logical vector with the same length as \code{dim.name}.
|
16
|
+
}
|
17
|
+
\description{
|
18
|
+
Normalizes a selection vector \code{sel} to a logical vector with indexes
|
19
|
+
from \code{dim.names}.
|
20
|
+
}
|
21
|
+
\author{
|
22
|
+
Luis M. Rodriguez-R [aut, cre]
|
23
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/tribs.R
|
3
|
+
\name{enve.tribs}
|
4
|
+
\alias{enve.tribs}
|
5
|
+
\title{Enveomics: TRIBS}
|
6
|
+
\usage{
|
7
|
+
enve.tribs(
|
8
|
+
dist,
|
9
|
+
selection = labels(dist),
|
10
|
+
replicates = 1000,
|
11
|
+
summary.fx = median,
|
12
|
+
dist.method = "euclidean",
|
13
|
+
subsamples = seq(0, 1, by = 0.01),
|
14
|
+
dimensions = ceiling(length(selection) * 0.05),
|
15
|
+
metaMDS.opts = list(),
|
16
|
+
threads = 2,
|
17
|
+
verbosity = 1,
|
18
|
+
points,
|
19
|
+
pre.tribs
|
20
|
+
)
|
21
|
+
}
|
22
|
+
\arguments{
|
23
|
+
\item{dist}{Distances as a \code{dist} object.}
|
24
|
+
|
25
|
+
\item{selection}{Objects to include in the subsample. By default, all objects are
|
26
|
+
selected.}
|
27
|
+
|
28
|
+
\item{replicates}{Number of replications per point.}
|
29
|
+
|
30
|
+
\item{summary.fx}{Function to summarize the distance distributions in a given replicate. By
|
31
|
+
default, the median distance is estimated.}
|
32
|
+
|
33
|
+
\item{dist.method}{Distance method between random points and samples in the transformed
|
34
|
+
space. See \code{dist}.}
|
35
|
+
|
36
|
+
\item{subsamples}{Subsampling fractions.}
|
37
|
+
|
38
|
+
\item{dimensions}{Dimensions to use in the NMDS. By default, 5\% of the selection length.}
|
39
|
+
|
40
|
+
\item{metaMDS.opts}{Any additional options to pass to metaMDS, as \code{list}.}
|
41
|
+
|
42
|
+
\item{threads}{Number of threads to use.}
|
43
|
+
|
44
|
+
\item{verbosity}{Verbosity. Use 0 to run quietly, increase for additional information.}
|
45
|
+
|
46
|
+
\item{points}{Optional. If passed, the MDS step is skipped and this object is used
|
47
|
+
instead. It can be the \code{$points} slot of class \code{metaMDS}
|
48
|
+
(from \code{vegan}).
|
49
|
+
It must be a matrix or matrix-coercible object, with samples as rows and
|
50
|
+
dimensions as columns.}
|
51
|
+
|
52
|
+
\item{pre.tribs}{Optional. If passed, the points are recovered from this object (except if
|
53
|
+
\code{points} is also passed. This should be an \code{\link{enve.TRIBS}} object
|
54
|
+
estimated on the same objects (the selection is unimportant).}
|
55
|
+
}
|
56
|
+
\value{
|
57
|
+
Returns an \code{\link{enve.TRIBS}} object.
|
58
|
+
}
|
59
|
+
\description{
|
60
|
+
Subsample any objects in "distance space" to reduce the effect of
|
61
|
+
sample-clustering. This function was originally designed to subsample
|
62
|
+
genomes in "phylogenetic distance space", a clear case of strong
|
63
|
+
clustering bias in sampling, by Luis M. Rodriguez-R and Michael R
|
64
|
+
Weigand.
|
65
|
+
}
|
66
|
+
\author{
|
67
|
+
Luis M. Rodriguez-R [aut, cre]
|
68
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/tribs.R
|
3
|
+
\name{enve.tribs.test}
|
4
|
+
\alias{enve.tribs.test}
|
5
|
+
\title{Enveomics: TRIBS Test}
|
6
|
+
\usage{
|
7
|
+
enve.tribs.test(dist, selection, bins = 50, ...)
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{dist}{Distances as \code{dist} object.}
|
11
|
+
|
12
|
+
\item{selection}{Selection defining the subset.}
|
13
|
+
|
14
|
+
\item{bins}{Number of bins to evaluate in the range of distances.}
|
15
|
+
|
16
|
+
\item{...}{Any other parameters supported by \code{\link{enve.tribs}},
|
17
|
+
except \code{subsamples}.}
|
18
|
+
}
|
19
|
+
\value{
|
20
|
+
Returns an \code{\link{enve.TRIBStest}} object.
|
21
|
+
}
|
22
|
+
\description{
|
23
|
+
Estimates the empirical difference between all the distances in a set of
|
24
|
+
objects and a subset, together with its statistical significance.
|
25
|
+
}
|
26
|
+
\author{
|
27
|
+
Luis M. Rodriguez-R [aut, cre]
|
28
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/utils.R
|
3
|
+
\name{enve.truncate}
|
4
|
+
\alias{enve.truncate}
|
5
|
+
\title{Enveomics: Truncate}
|
6
|
+
\usage{
|
7
|
+
enve.truncate(x, f = 0.95, FUN = mean)
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{x}{A vector of numbers.}
|
11
|
+
|
12
|
+
\item{f}{The fraction of values to retain.}
|
13
|
+
|
14
|
+
\item{FUN}{Summary function to apply to the vectors. To obtain the
|
15
|
+
truncated vector itself, use \code{c}.}
|
16
|
+
}
|
17
|
+
\value{
|
18
|
+
Returns the summary \code{(FUN)} of the truncated vector.
|
19
|
+
}
|
20
|
+
\description{
|
21
|
+
Removes the \code{n} highest and lowest values from a vector, and applies
|
22
|
+
summary function. The value of \code{n} is determined such that the central
|
23
|
+
range is used, corresponding to the \code{f} fraction of values.
|
24
|
+
}
|
25
|
+
\author{
|
26
|
+
Luis M. Rodriguez-R [aut, cre]
|
27
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
\name{growth.curves}
|
3
|
+
\docType{data}
|
4
|
+
\alias{growth.curves}
|
5
|
+
\title{Bacterial growth curves for three Escherichia coli mutants}
|
6
|
+
\description{
|
7
|
+
This data set provides time (first column) and three triplicated growth
|
8
|
+
curves as optical density at 600nm (OD_600nm) for different mutants of E.
|
9
|
+
coli.
|
10
|
+
}
|
11
|
+
\usage{growth.curves}
|
12
|
+
\format{A data frame with 16 rows (times) and 10 rows (times and OD_600nm).}
|
13
|
+
\keyword{datasets}
|
14
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
\name{phyla.counts}
|
3
|
+
\docType{data}
|
4
|
+
\alias{phyla.counts}
|
5
|
+
\title{Counts of microbial phyla in four sites}
|
6
|
+
\description{
|
7
|
+
This data set gives the counts of phyla in three different
|
8
|
+
sites.
|
9
|
+
}
|
10
|
+
\usage{phyla.counts}
|
11
|
+
\format{A data frame with 9 rows (phyla) and 4 rows (sites).}
|
12
|
+
\keyword{datasets}
|
13
|
+
|
@@ -0,0 +1,78 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/growthcurve.R
|
3
|
+
\name{plot.enve.GrowthCurve}
|
4
|
+
\alias{plot.enve.GrowthCurve}
|
5
|
+
\title{Enveomics: Plot of Growth Curve}
|
6
|
+
\usage{
|
7
|
+
\method{plot}{enve.GrowthCurve}(
|
8
|
+
x,
|
9
|
+
col,
|
10
|
+
pt.alpha = 0.9,
|
11
|
+
ln.alpha = 1,
|
12
|
+
ln.lwd = 1,
|
13
|
+
ln.lty = 1,
|
14
|
+
band.alpha = 0.4,
|
15
|
+
band.density = NULL,
|
16
|
+
band.angle = 45,
|
17
|
+
xp.alpha = 0.5,
|
18
|
+
xp.lwd = 1,
|
19
|
+
xp.lty = 1,
|
20
|
+
pch = 19,
|
21
|
+
new = TRUE,
|
22
|
+
legend = new,
|
23
|
+
add.params = FALSE,
|
24
|
+
...
|
25
|
+
)
|
26
|
+
}
|
27
|
+
\arguments{
|
28
|
+
\item{x}{An \code{\link{enve.GrowthCurve}} object to plot.}
|
29
|
+
|
30
|
+
\item{col}{Base colors to use for the different samples. Can be recycled.
|
31
|
+
By default, grey for one sample or rainbow colors for more than one.}
|
32
|
+
|
33
|
+
\item{pt.alpha}{Color alpha for the observed data points, using \code{col}
|
34
|
+
as a base.}
|
35
|
+
|
36
|
+
\item{ln.alpha}{Color alpha for the fitted growth curve, using \code{col}
|
37
|
+
as a base.}
|
38
|
+
|
39
|
+
\item{ln.lwd}{Line width for the fitted curve.}
|
40
|
+
|
41
|
+
\item{ln.lty}{Line type for the fitted curve.}
|
42
|
+
|
43
|
+
\item{band.alpha}{Color alpha for the confidence interval band of the
|
44
|
+
fitted growth curve, using \code{col} as a base.}
|
45
|
+
|
46
|
+
\item{band.density}{Density of the filling pattern in the interval band.
|
47
|
+
If \code{NULL}, a solid color is used.}
|
48
|
+
|
49
|
+
\item{band.angle}{Angle of the density filling pattern in the interval
|
50
|
+
band. Ignored if \code{band.density} is \code{NULL}.}
|
51
|
+
|
52
|
+
\item{xp.alpha}{Color alpha for the line connecting individual experiments,
|
53
|
+
using \code{col} as a base.}
|
54
|
+
|
55
|
+
\item{xp.lwd}{Width of line for the experiments.}
|
56
|
+
|
57
|
+
\item{xp.lty}{Type of line for the experiments.}
|
58
|
+
|
59
|
+
\item{pch}{Point character for observed data points.}
|
60
|
+
|
61
|
+
\item{new}{Should a new plot be generated? If \code{FALSE}, the existing
|
62
|
+
canvas is used.}
|
63
|
+
|
64
|
+
\item{legend}{Should the plot include a legend? If \code{FALSE}, no legend
|
65
|
+
is added. If \code{TRUE}, a legend is added in the bottom-right corner.
|
66
|
+
Otherwise, a legend is added in the position specified as \code{xy.coords}.}
|
67
|
+
|
68
|
+
\item{add.params}{Should the legend include the parameters of the fitted
|
69
|
+
model?}
|
70
|
+
|
71
|
+
\item{...}{Any other graphic parameters.}
|
72
|
+
}
|
73
|
+
\description{
|
74
|
+
Plots an \code{\link{enve.GrowthCurve}} object.
|
75
|
+
}
|
76
|
+
\author{
|
77
|
+
Luis M. Rodriguez-R [aut, cre]
|
78
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/tribs.R
|
3
|
+
\name{plot.enve.TRIBS}
|
4
|
+
\alias{plot.enve.TRIBS}
|
5
|
+
\title{Enveomics: TRIBS Plot}
|
6
|
+
\usage{
|
7
|
+
\method{plot}{enve.TRIBS}(
|
8
|
+
x,
|
9
|
+
new = TRUE,
|
10
|
+
type = c("boxplot", "points"),
|
11
|
+
col = "#00000044",
|
12
|
+
pt.cex = 1/2,
|
13
|
+
pt.pch = 19,
|
14
|
+
pt.col = col,
|
15
|
+
ln.col = col,
|
16
|
+
...
|
17
|
+
)
|
18
|
+
}
|
19
|
+
\arguments{
|
20
|
+
\item{x}{\code{\link{enve.TRIBS}} object to plot.}
|
21
|
+
|
22
|
+
\item{new}{Should a new canvas be drawn?}
|
23
|
+
|
24
|
+
\item{type}{Type of plot. The \strong{points} plot shows all the replicates, the
|
25
|
+
\strong{boxplot} plot represents the values found by
|
26
|
+
\code{\link[grDevices]{boxplot.stats}}.
|
27
|
+
as areas, and plots the outliers as points.}
|
28
|
+
|
29
|
+
\item{col}{Color of the areas and/or the points.}
|
30
|
+
|
31
|
+
\item{pt.cex}{Size of the points.}
|
32
|
+
|
33
|
+
\item{pt.pch}{Points character.}
|
34
|
+
|
35
|
+
\item{pt.col}{Color of the points.}
|
36
|
+
|
37
|
+
\item{ln.col}{Color of the lines.}
|
38
|
+
|
39
|
+
\item{...}{Any additional parameters supported by \code{plot}.}
|
40
|
+
}
|
41
|
+
\description{
|
42
|
+
Plot an \code{\link{enve.TRIBS}} object.
|
43
|
+
}
|
44
|
+
\author{
|
45
|
+
Luis M. Rodriguez-R [aut, cre]
|
46
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/tribs.R
|
3
|
+
\name{plot.enve.TRIBStest}
|
4
|
+
\alias{plot.enve.TRIBStest}
|
5
|
+
\title{Enveomics: TRIBS Plot Test}
|
6
|
+
\usage{
|
7
|
+
\method{plot}{enve.TRIBStest}(
|
8
|
+
x,
|
9
|
+
type = c("overlap", "difference"),
|
10
|
+
col = "#00000044",
|
11
|
+
col1 = col,
|
12
|
+
col2 = "#44001144",
|
13
|
+
ylab = "Probability",
|
14
|
+
xlim = range(attr(x, "dist.mids")),
|
15
|
+
ylim = c(0, max(c(attr(x, "all.dist"), attr(x, "sel.dist")))),
|
16
|
+
...
|
17
|
+
)
|
18
|
+
}
|
19
|
+
\arguments{
|
20
|
+
\item{x}{\code{\link{enve.TRIBStest}} object to plot.}
|
21
|
+
|
22
|
+
\item{type}{What to plot. \code{overlap} generates a plot of the two contrasting empirical
|
23
|
+
PDFs (to compare against each other), \code{difference} produces a plot of the
|
24
|
+
differences between the empirical PDFs (to compare against zero).}
|
25
|
+
|
26
|
+
\item{col}{Main color of the plot if type=\code{difference}.}
|
27
|
+
|
28
|
+
\item{col1}{First color of the plot if type=\code{overlap}.}
|
29
|
+
|
30
|
+
\item{col2}{Second color of the plot if type=\code{overlap}.}
|
31
|
+
|
32
|
+
\item{ylab}{Y-axis label.}
|
33
|
+
|
34
|
+
\item{xlim}{X-axis limits.}
|
35
|
+
|
36
|
+
\item{ylim}{Y-axis limits.}
|
37
|
+
|
38
|
+
\item{...}{Any other graphical arguments.}
|
39
|
+
}
|
40
|
+
\description{
|
41
|
+
Plots an \code{\link{enve.TRIBStest}} object.
|
42
|
+
}
|
43
|
+
\author{
|
44
|
+
Luis M. Rodriguez-R [aut, cre]
|
45
|
+
}
|