miga-base 0.4.3.0 → 0.5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/miga/cli.rb +43 -223
- data/lib/miga/cli/action/add.rb +91 -62
- data/lib/miga/cli/action/classify_wf.rb +97 -0
- data/lib/miga/cli/action/daemon.rb +14 -10
- data/lib/miga/cli/action/derep_wf.rb +95 -0
- data/lib/miga/cli/action/doctor.rb +83 -55
- data/lib/miga/cli/action/get.rb +68 -52
- data/lib/miga/cli/action/get_db.rb +206 -0
- data/lib/miga/cli/action/index_wf.rb +31 -0
- data/lib/miga/cli/action/init.rb +115 -190
- data/lib/miga/cli/action/init/daemon_helper.rb +124 -0
- data/lib/miga/cli/action/ls.rb +20 -11
- data/lib/miga/cli/action/ncbi_get.rb +199 -157
- data/lib/miga/cli/action/preproc_wf.rb +46 -0
- data/lib/miga/cli/action/quality_wf.rb +45 -0
- data/lib/miga/cli/action/stats.rb +147 -99
- data/lib/miga/cli/action/summary.rb +10 -4
- data/lib/miga/cli/action/tax_dist.rb +61 -46
- data/lib/miga/cli/action/tax_test.rb +46 -39
- data/lib/miga/cli/action/wf.rb +178 -0
- data/lib/miga/cli/base.rb +11 -0
- data/lib/miga/cli/objects_helper.rb +88 -0
- data/lib/miga/cli/opt_helper.rb +160 -0
- data/lib/miga/daemon.rb +7 -4
- data/lib/miga/dataset/base.rb +5 -5
- data/lib/miga/project/base.rb +4 -4
- data/lib/miga/project/result.rb +2 -1
- data/lib/miga/remote_dataset/base.rb +5 -5
- data/lib/miga/remote_dataset/download.rb +1 -1
- data/lib/miga/version.rb +3 -3
- data/scripts/cds.bash +3 -1
- data/scripts/essential_genes.bash +1 -0
- data/scripts/stats.bash +1 -1
- data/scripts/trimmed_fasta.bash +5 -3
- data/utils/distance/runner.rb +3 -0
- data/utils/distance/temporal.rb +10 -1
- data/utils/enveomics/Manifest/Tasks/fasta.json +5 -0
- data/utils/enveomics/Manifest/Tasks/sequence-identity.json +7 -0
- data/utils/enveomics/Scripts/BlastTab.addlen.rb +33 -31
- data/utils/enveomics/Scripts/FastA.tag.rb +42 -41
- data/utils/enveomics/Scripts/HMM.essential.rb +85 -55
- data/utils/enveomics/Scripts/HMM.haai.rb +29 -20
- data/utils/enveomics/Scripts/SRA.download.bash +1 -1
- data/utils/enveomics/Scripts/aai.rb +163 -128
- data/utils/enveomics/build_enveomics_r.bash +11 -10
- data/utils/enveomics/enveomics.R/DESCRIPTION +3 -2
- data/utils/enveomics/enveomics.R/R/autoprune.R +141 -107
- data/utils/enveomics/enveomics.R/R/barplot.R +105 -86
- data/utils/enveomics/enveomics.R/R/cliopts.R +131 -115
- data/utils/enveomics/enveomics.R/R/df2dist.R +144 -106
- data/utils/enveomics/enveomics.R/R/growthcurve.R +201 -133
- data/utils/enveomics/enveomics.R/R/recplot.R +350 -315
- data/utils/enveomics/enveomics.R/R/recplot2.R +1334 -914
- data/utils/enveomics/enveomics.R/R/tribs.R +521 -361
- data/utils/enveomics/enveomics.R/R/utils.R +31 -15
- data/utils/enveomics/enveomics.R/README.md +7 -0
- data/utils/enveomics/enveomics.R/man/cash-enve.GrowthCurve-method.Rd +17 -0
- data/utils/enveomics/enveomics.R/man/cash-enve.RecPlot2-method.Rd +17 -0
- data/utils/enveomics/enveomics.R/man/cash-enve.RecPlot2.Peak-method.Rd +17 -0
- data/utils/enveomics/enveomics.R/man/enve.GrowthCurve-class.Rd +16 -21
- data/utils/enveomics/enveomics.R/man/enve.TRIBS-class.Rd +31 -28
- data/utils/enveomics/enveomics.R/man/enve.TRIBS.merge.Rd +23 -19
- data/utils/enveomics/enveomics.R/man/enve.TRIBStest-class.Rd +36 -26
- data/utils/enveomics/enveomics.R/man/enve.__prune.iter.Rd +23 -24
- data/utils/enveomics/enveomics.R/man/enve.__prune.reduce.Rd +23 -24
- data/utils/enveomics/enveomics.R/man/enve.__tribs.Rd +32 -33
- data/utils/enveomics/enveomics.R/man/enve.barplot.Rd +91 -64
- data/utils/enveomics/enveomics.R/man/enve.cliopts.Rd +57 -37
- data/utils/enveomics/enveomics.R/man/enve.col.alpha.Rd +24 -19
- data/utils/enveomics/enveomics.R/man/enve.col2alpha.Rd +19 -18
- data/utils/enveomics/enveomics.R/man/enve.df2dist.Rd +39 -26
- data/utils/enveomics/enveomics.R/man/enve.df2dist.group.Rd +38 -25
- data/utils/enveomics/enveomics.R/man/enve.df2dist.list.Rd +40 -26
- data/utils/enveomics/enveomics.R/man/enve.growthcurve.Rd +67 -49
- data/utils/enveomics/enveomics.R/man/enve.prune.dist.Rd +37 -28
- data/utils/enveomics/enveomics.R/man/enve.recplot.Rd +122 -97
- data/utils/enveomics/enveomics.R/man/enve.recplot2-class.Rd +35 -31
- data/utils/enveomics/enveomics.R/man/enve.recplot2.ANIr.Rd +24 -23
- data/utils/enveomics/enveomics.R/man/enve.recplot2.Rd +68 -51
- data/utils/enveomics/enveomics.R/man/enve.recplot2.__counts.Rd +25 -24
- data/utils/enveomics/enveomics.R/man/enve.recplot2.__peakHist.Rd +21 -22
- data/utils/enveomics/enveomics.R/man/enve.recplot2.__whichClosestPeak.Rd +19 -20
- data/utils/enveomics/enveomics.R/man/enve.recplot2.changeCutoff.Rd +19 -18
- data/utils/enveomics/enveomics.R/man/enve.recplot2.compareIdentities.Rd +41 -32
- data/utils/enveomics/enveomics.R/man/enve.recplot2.coordinates.Rd +29 -24
- data/utils/enveomics/enveomics.R/man/enve.recplot2.corePeak.Rd +18 -18
- data/utils/enveomics/enveomics.R/man/enve.recplot2.extractWindows.Rd +40 -34
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.Rd +36 -24
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__em_e.Rd +19 -20
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__em_m.Rd +19 -20
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__emauto_one.Rd +27 -29
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__mow_one.Rd +41 -42
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.__mower.Rd +17 -18
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.em.Rd +43 -33
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.emauto.Rd +36 -28
- data/utils/enveomics/enveomics.R/man/enve.recplot2.findPeaks.mower.Rd +74 -56
- data/utils/enveomics/enveomics.R/man/enve.recplot2.peak-class.Rd +44 -31
- data/utils/enveomics/enveomics.R/man/enve.recplot2.seqdepth.Rd +27 -22
- data/utils/enveomics/enveomics.R/man/enve.recplot2.windowDepthThreshold.Rd +32 -26
- data/utils/enveomics/enveomics.R/man/enve.tribs.Rd +59 -44
- data/utils/enveomics/enveomics.R/man/enve.tribs.test.Rd +28 -21
- data/utils/enveomics/enveomics.R/man/enve.truncate.Rd +27 -22
- data/utils/enveomics/enveomics.R/man/plot.enve.GrowthCurve.Rd +63 -43
- data/utils/enveomics/enveomics.R/man/plot.enve.TRIBS.Rd +38 -29
- data/utils/enveomics/enveomics.R/man/plot.enve.TRIBStest.Rd +38 -30
- data/utils/enveomics/enveomics.R/man/plot.enve.recplot2.Rd +111 -83
- data/utils/enveomics/enveomics.R/man/summary.enve.GrowthCurve.Rd +19 -18
- data/utils/enveomics/enveomics.R/man/summary.enve.TRIBS.Rd +19 -18
- data/utils/enveomics/enveomics.R/man/summary.enve.TRIBStest.Rd +19 -18
- data/utils/find-medoid.R +3 -2
- data/utils/representatives.rb +5 -3
- data/utils/subclade/pipeline.rb +22 -11
- data/utils/subclade/runner.rb +5 -1
- data/utils/subclades-compile.rb +1 -1
- data/utils/subclades.R +9 -3
- metadata +15 -4
- data/utils/enveomics/enveomics.R/man/enveomics.R-package.Rd +0 -15
- data/utils/enveomics/enveomics.R/man/z$-methods.Rd +0 -26
@@ -1,41 +1,45 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
3
|
\docType{class}
|
4
|
+
\name{enve.RecPlot2-class}
|
4
5
|
\alias{enve.RecPlot2-class}
|
5
6
|
\alias{enve.RecPlot2}
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
\
|
10
|
-
be produced by `enve.recplot2` and supports S4 method plot.}
|
11
|
-
\section{Objects from the Class}{Objects can be created by calls of the form \code{new(enve.RecPlot2 ...)}}
|
12
|
-
\section{Slots}{
|
13
|
-
\describe{
|
14
|
-
\item{\code{counts}:}{(\code{matrix}) Counts as a two-dimensional histogram.}
|
15
|
-
\item{\code{pos.counts.in}:}{(\code{numeric}) Counts of in-group hits per position bin.}
|
16
|
-
\item{\code{pos.counts.out}:}{(\code{numeric}) Counts of out-group hits per position bin.}
|
17
|
-
\item{\code{id.counts}:}{(\code{numeric}) Counts per ID bin.}
|
18
|
-
\item{\code{id.breaks}:}{(\code{numeric}) Breaks of identity bins.}
|
19
|
-
\item{\code{pos.breaks}:}{(\code{numeric}) Breaks of position bins.}
|
20
|
-
\item{\code{pos.names}:}{(\code{character}) Names of the position bins.}
|
21
|
-
\item{\code{seq.breaks}:}{(\code{numeric}) Breaks of input sequences.}
|
22
|
-
\item{\code{peaks}:}{(\code{list}) Peaks identified in the recplot.
|
23
|
-
Limits of the subject sequences after concatenation.}
|
24
|
-
\item{\code{seq.names}:}{(\code{character}) Names of the subject sequences.}
|
25
|
-
\item{\code{id.metric}:}{(\code{character}) Metric used as 'identity'.}
|
26
|
-
\item{\code{id.ingroup}:}{(\code{logical}) Identity bins considered in-group.}
|
27
|
-
\item{\code{call}:}{(\code{call}) Call producing this object.}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
\section{Methods}{
|
31
|
-
\describe{
|
32
|
-
\item{$}{\code{signature(x = "enve.RecPlot2")}: ... }
|
33
|
-
}
|
7
|
+
\title{Enveomics: Recruitment Plot (2) - S4 Class}
|
8
|
+
\description{
|
9
|
+
Enve-omics representation of Recruitment plots. This object can
|
10
|
+
be produced by \code{\link{enve.recplot2}} and supports S4 method plot.
|
34
11
|
}
|
12
|
+
\section{Slots}{
|
13
|
+
|
14
|
+
\describe{
|
15
|
+
\item{\code{counts}}{\code{(matrix)} Counts as a two-dimensional histogram.}
|
16
|
+
|
17
|
+
\item{\code{pos.counts.in}}{\code{(numeric)} Counts of in-group hits per position bin.}
|
35
18
|
|
36
|
-
\
|
19
|
+
\item{\code{pos.counts.out}}{\code{(numeric)} Counts of out-group hits per position bin.}
|
37
20
|
|
21
|
+
\item{\code{id.counts}}{\code{(numeric)} Counts per ID bin.}
|
38
22
|
|
23
|
+
\item{\code{id.breaks}}{\code{(numeric)} Breaks of identity bins.}
|
39
24
|
|
25
|
+
\item{\code{pos.breaks}}{\code{(numeric)} Breaks of position bins.}
|
40
26
|
|
27
|
+
\item{\code{pos.names}}{\code{(character)} Names of the position bins.}
|
41
28
|
|
29
|
+
\item{\code{seq.breaks}}{\code{(numeric)} Breaks of input sequences.}
|
30
|
+
|
31
|
+
\item{\code{peaks}}{\code{(list)} Peaks identified in the recplot.
|
32
|
+
Limits of the subject sequences after concatenation.}
|
33
|
+
|
34
|
+
\item{\code{seq.names}}{\code{(character}) Names of the subject sequences.}
|
35
|
+
|
36
|
+
\item{\code{id.metric}}{\code{(character}) Metric used as 'identity'.}
|
37
|
+
|
38
|
+
\item{\code{id.ingroup}}{\code{(logical}) Identity bins considered in-group.}
|
39
|
+
|
40
|
+
\item{\code{call}}{\code{(call)} Call producing this object.}
|
41
|
+
}}
|
42
|
+
|
43
|
+
\author{
|
44
|
+
Luis M. Rodriguez-R [aut, cre]
|
45
|
+
}
|
@@ -1,23 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
\
|
4
|
-
\
|
5
|
-
|
6
|
-
\usage{
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
\
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2.ANIr}
|
4
|
+
\alias{enve.recplot2.ANIr}
|
5
|
+
\title{Enveomics: Recruitment Plot (2) ANI Estimate}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2.ANIr(x, range = c(0, Inf))
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{x}{\code{\link{enve.RecPlot2}} object.}
|
11
|
+
|
12
|
+
\item{range}{Range of identities to be considered. By default, the full range
|
13
|
+
is used (note that the upper boundary is \code{Inf} and not 100 because
|
14
|
+
recruitment plots can also be built with bit-scores). To use only
|
15
|
+
intra-population matches (with identities), use c(95,100). To use only
|
16
|
+
inter-population values, use c(0,95).}
|
17
|
+
}
|
18
|
+
\description{
|
19
|
+
Estimate the Average Nucleotide Identity from reads (ANIr) from a
|
20
|
+
recruitment plot.
|
21
|
+
}
|
22
|
+
\author{
|
23
|
+
Luis M. Rodriguez-R [aut, cre]
|
24
|
+
}
|
@@ -1,51 +1,68 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
\
|
4
|
-
\
|
5
|
-
|
6
|
-
\usage{
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
\
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2}
|
4
|
+
\alias{enve.recplot2}
|
5
|
+
\title{Enveomics: Recruitment Plot (2)}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2(prefix, plot = TRUE, pos.breaks = 1000,
|
8
|
+
pos.breaks.tsv = NA, id.breaks = 60, id.free.range = FALSE,
|
9
|
+
id.metric = c("identity", "corrected identity", "bit score"),
|
10
|
+
id.summary = sum, id.cutoff = 95, threads = 2, verbose = TRUE,
|
11
|
+
...)
|
12
|
+
}
|
13
|
+
\arguments{
|
14
|
+
\item{prefix}{Path to the prefix of the \code{BlastTab.catsbj.pl} output files. At
|
15
|
+
least the files .rec and .lim must exist with this prefix.}
|
16
|
+
|
17
|
+
\item{plot}{Should the object be plotted?}
|
18
|
+
|
19
|
+
\item{pos.breaks}{Breaks in the positions histogram. It can also be a vector of break
|
20
|
+
points, and values outside the range are ignored. If zero (0), it
|
21
|
+
uses the sequence breaks as defined in the .lim file, which means
|
22
|
+
one bin per contig (or gene, if the mapping is agains genes). Ignored
|
23
|
+
if `pos.breaks.tsv` is passed.}
|
24
|
+
|
25
|
+
\item{pos.breaks.tsv}{Path to a list of (absolute) coordinates to use as position breaks.
|
26
|
+
This tab-delimited file can be produced by \code{GFF.catsbj.pl}, and it
|
27
|
+
must contain at least one column: coordinates of the break positions of
|
28
|
+
each position bin. If it has a second column, this is used as the name
|
29
|
+
of the position bin that ends at the given coordinate (the first row is
|
30
|
+
ignored). Any additional columns are currently ignored. If \code{NA},
|
31
|
+
position bins are determined by \code{pos.breaks}.}
|
32
|
+
|
33
|
+
\item{id.breaks}{Breaks in the identity histogram. It can also be a vector of break
|
34
|
+
points, and values outside the range are ignored.}
|
35
|
+
|
36
|
+
\item{id.free.range}{Indicates that the range should be freely set from the observed
|
37
|
+
values. Otherwise, 70-100\% is included in the identity histogram
|
38
|
+
(default).}
|
39
|
+
|
40
|
+
\item{id.metric}{Metric of identity to be used (Y-axis). Corrected identity is only
|
41
|
+
supported if the original BLAST file included sequence lengths.}
|
42
|
+
|
43
|
+
\item{id.summary}{Function summarizing the identity bins. Other recommended options
|
44
|
+
include: \code{median} to estimate the median instead of total bins, and
|
45
|
+
\code{function(x) mlv(x,method='parzen')$M} to estimate the mode.}
|
46
|
+
|
47
|
+
\item{id.cutoff}{Cutoff of identity metric above which the hits are considered
|
48
|
+
\code{in-group}. The 95\% identity corresponds to the expectation of
|
49
|
+
ANI<95\% within species.}
|
50
|
+
|
51
|
+
\item{threads}{Number of threads to use.}
|
52
|
+
|
53
|
+
\item{verbose}{Indicates if the function should report the advance.}
|
54
|
+
|
55
|
+
\item{...}{Any additional parameters supported by \code{\link{plot.enve.RecPlot2}}.}
|
56
|
+
}
|
57
|
+
\value{
|
58
|
+
Returns an object of class \code{\link{enve.RecPlot2}}.
|
59
|
+
}
|
60
|
+
\description{
|
61
|
+
Produces recruitment plots provided that \code{BlastTab.catsbj.pl} has
|
62
|
+
been previously executed.
|
63
|
+
}
|
64
|
+
\author{
|
65
|
+
Luis M. Rodriguez-R [aut, cre]
|
66
|
+
|
67
|
+
Kenji Gerhardt [aut]
|
68
|
+
}
|
@@ -1,24 +1,25 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
\
|
4
|
-
\
|
5
|
-
\
|
6
|
-
\
|
7
|
-
|
8
|
-
}
|
9
|
-
|
10
|
-
}
|
11
|
-
|
12
|
-
}
|
13
|
-
|
14
|
-
}
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2.__counts}
|
4
|
+
\alias{enve.recplot2.__counts}
|
5
|
+
\title{Enveomics: Recruitment Plot (2) Internal Ancillary Function}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2.__counts(x, pos.breaks, id.breaks, rec.idcol)
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{x}{\code{\link{enve.RecPlot2}} object}
|
11
|
+
|
12
|
+
\item{pos.breaks}{Position breaks}
|
13
|
+
|
14
|
+
\item{id.breaks}{Identity breaks}
|
15
|
+
|
16
|
+
\item{rec.idcol}{Identity column to use}
|
17
|
+
}
|
18
|
+
\description{
|
19
|
+
Internal ancillary function (see \code{\link{enve.recplot2}}).
|
20
|
+
}
|
21
|
+
\author{
|
22
|
+
Luis M. Rodriguez-R [aut, cre]
|
23
|
+
|
24
|
+
Kenji Gerhardt [aut]
|
25
|
+
}
|
@@ -1,22 +1,21 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
\
|
4
|
-
\
|
5
|
-
\
|
6
|
-
\
|
7
|
-
|
8
|
-
}
|
9
|
-
|
10
|
-
}
|
11
|
-
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2.__peakHist}
|
4
|
+
\alias{enve.recplot2.__peakHist}
|
5
|
+
\title{Enveomics: Recruitment Plot (2) Peak S4 Class - Internal Ancillary Function}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2.__peakHist(x, mids, counts = TRUE)
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{x}{\code{\link{enve.RecPlot2.Peak}} object}
|
11
|
+
|
12
|
+
\item{mids}{Midpoints}
|
13
|
+
|
14
|
+
\item{counts}{Counts}
|
15
|
+
}
|
16
|
+
\description{
|
17
|
+
Internal ancillary function (see \code{\link{enve.RecPlot2.Peak}}).
|
18
|
+
}
|
19
|
+
\author{
|
20
|
+
Luis M. Rodriguez-R [aut, cre]
|
21
|
+
}
|
@@ -1,20 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
\
|
4
|
-
\
|
5
|
-
\
|
6
|
-
\
|
7
|
-
|
8
|
-
}
|
9
|
-
|
10
|
-
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2.__whichClosestPeak}
|
4
|
+
\alias{enve.recplot2.__whichClosestPeak}
|
5
|
+
\title{Enveomics: Recruitment Plot (2) Peak Finder - Internal Ancillary Function}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2.__whichClosestPeak(peak, peaks)
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{peak}{Query \code{\link{enve.RecPlot2.Peak}} object}
|
11
|
+
|
12
|
+
\item{peaks}{list of \code{\link{enve.RecPlot2.Peak}} objects}
|
13
|
+
}
|
14
|
+
\description{
|
15
|
+
Internal ancillary function (see \code{\link{enve.recplot2.findPeaks}}).
|
16
|
+
}
|
17
|
+
\author{
|
18
|
+
Luis M. Rodriguez-R [aut, cre]
|
19
|
+
}
|
@@ -1,18 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
\
|
4
|
-
\
|
5
|
-
\
|
6
|
-
\
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2.changeCutoff}
|
4
|
+
\alias{enve.recplot2.changeCutoff}
|
5
|
+
\title{Enveomics: Recruitment Plot (2) Change Cutoff}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2.changeCutoff(rp, new.cutoff = 98)
|
8
|
+
}
|
9
|
+
\arguments{
|
10
|
+
\item{rp}{\code{\link{enve.RecPlot2}} object.}
|
11
|
+
|
12
|
+
\item{new.cutoff}{New cutoff to use.}
|
13
|
+
}
|
14
|
+
\description{
|
15
|
+
Change the intra-species cutoff of an existing recruitment plot.
|
16
|
+
}
|
17
|
+
\author{
|
18
|
+
Luis M. Rodriguez-R [aut, cre]
|
19
|
+
}
|
@@ -1,32 +1,41 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
\
|
4
|
-
\
|
5
|
-
\
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
}
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
\
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
1
|
+
% Generated by roxygen2: do not edit by hand
|
2
|
+
% Please edit documentation in R/recplot2.R
|
3
|
+
\name{enve.recplot2.compareIdentities}
|
4
|
+
\alias{enve.recplot2.compareIdentities}
|
5
|
+
\title{Enveomics: Recruitment Plot (2) Compare Identities}
|
6
|
+
\usage{
|
7
|
+
enve.recplot2.compareIdentities(x, y, method = "hellinger",
|
8
|
+
smooth.par = NULL, pseudocounts = 0, max.deviation = 0.75)
|
9
|
+
}
|
10
|
+
\arguments{
|
11
|
+
\item{x}{First \code{\link{enve.RecPlot2}} object.}
|
12
|
+
|
13
|
+
\item{y}{Second \code{\link{enve.RecPlot2}} object.}
|
14
|
+
|
15
|
+
\item{method}{Distance method to use. This should be (an unambiguous abbreviation of)
|
16
|
+
one of:
|
17
|
+
\itemize{
|
18
|
+
\item{"hellinger" (\emph{Hellinger, 1090, doi:10.1515/crll.1909.136.210}),}
|
19
|
+
\item{"bhattacharyya" (\emph{Bhattacharyya, 1943, Bull. Calcutta Math. Soc. 35}),}
|
20
|
+
\item{"kl" or "kullback-leibler" (\emph{Kullback & Leibler, 1951,
|
21
|
+
doi:10.1214/aoms/1177729694}), or}
|
22
|
+
\item{"euclidean"}
|
23
|
+
}}
|
24
|
+
|
25
|
+
\item{smooth.par}{Smoothing parameter for cubic spline smoothing. Use 0 for no smoothing.
|
26
|
+
Use \code{NULL} to automatically determine this value using leave-one-out
|
27
|
+
cross-validation (see \code{smooth.spline} parameter \code{spar}).}
|
28
|
+
|
29
|
+
\item{pseudocounts}{Smoothing parameter for Laplace smoothing. Use 0 for no smoothing, or
|
30
|
+
1 for add-one smoothing.}
|
31
|
+
|
32
|
+
\item{max.deviation}{Maximum mean deviation between identity breaks tolerated (as percent
|
33
|
+
identity). Difference in number of \code{id.breaks} is never tolerated.}
|
34
|
+
}
|
35
|
+
\description{
|
36
|
+
Compare the distribution of identities between two
|
37
|
+
\code{\link{enve.RecPlot2}} objects.
|
38
|
+
}
|
39
|
+
\author{
|
40
|
+
Luis M. Rodriguez-R [aut, cre]
|
41
|
+
}
|