-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f93c874
commit 5d47ba9
Showing
14 changed files
with
470 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
Package: AlleleRetain | ||
Type: Package | ||
Title: Allele Retention, Inbreeding, and Demography | ||
Version: 1.3.4 | ||
Depends: R (>= 2.11.0) | ||
Version: 2.0.2 | ||
Depends: R (>= 3.4.0) | ||
Suggests: pedigree | ||
Date: 2017-08-15 | ||
Author: Emily Weiser | ||
Date: 2018-01-11 | ||
Author: Emily L. Weiser | ||
Maintainer: Emily Weiser <emily.l.weiser@gmail.com> | ||
Description: Simulate the effect of management or demography on allele retention and inbreeding accumulation in bottlenecked populations of animals with overlapping generations. | ||
License: GPL (>= 2) | ||
ZipData: yes | ||
URL: https://sites.google.com/site/alleleretain/ | ||
NeedsCompilation: no | ||
Packaged: 2017-08-16 01:35:17 UTC; Emily | ||
Packaged: 2018-01-11 18:50:13 UTC; Emily | ||
Repository: CRAN | ||
Date/Publication: 2017-08-16 03:24:05 UTC | ||
Date/Publication: 2018-01-11 19:29:41 UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
1d6538692e9a4c3b2eab2db8e262f532 *DESCRIPTION | ||
0e56824a0dbdb5cf76bf472deae7161c *NAMESPACE | ||
68764e4ac76aa0cd7e5206e94da74c84 *R/AlleleRetain.R | ||
2c749f8b2c1b29396d6c64031f89196d *inst/CITATION | ||
14e6882817dec3fb39e72ee9bb022ae3 *inst/doc/AlleleRetain_User_Guide.pdf | ||
4bd3bea9c67b5482ca9d48d416ffa6b7 *man/AlleleRetain-package.Rd | ||
463dd1bfd46bc46365407435dc270fef *man/aRetain.Rd | ||
5a22546e54a1db7477b36eaa6434e579 *man/aRetain.summary.Rd | ||
398a6a7ab9cadc3c931042dcd66ee703 *man/indiv.summary.Rd | ||
d1e50d168da0c9fa3a2e22acdfd4d764 *man/pedigree.summary.Rd | ||
12f92aea37ef1cdbbad3bf3cb0be61ab *DESCRIPTION | ||
06ba0b4ac424ac36c45ef36409774360 *NAMESPACE | ||
bd4f8d3f134911db0ec8da31de29f966 *R/AlleleRetain.R | ||
b915f280b08e9ae6501a432a88b21201 *inst/CITATION | ||
f9f1d196303d9e1a124180d2319e3446 *inst/doc/AlleleRetain2.0_User_Guide.pdf | ||
c10ed21f34e7285ae28c34100bad232e *man/AlleleRetain-package.Rd | ||
fae2214e034f067e9b4399b779ca6405 *man/LRS.summary.Rd | ||
7c2f4002342984c6615fdc0cce200247 *man/aRetain.Rd | ||
c0fe7751321d9757ce4f1c2dca1e7b35 *man/aRetain.summary.Rd | ||
0be5896cc1bef2ff8be1a5b497082fd5 *man/agerepro.summary.Rd | ||
406acee9fe9c56eaff688e4bf135445c *man/indiv.summary.Rd | ||
e36bffa5877ea70403c90c8a55e41322 *man/pedigree.summary.Rd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
importFrom("graphics", "close.screen", "plot", "screen", | ||
"split.screen") | ||
importFrom("stats", "qnorm", "rbinom", "rgamma", "rnorm", "rpois", | ||
importFrom("stats", "sd", "qnorm", "rbinom", "rgamma", "rnorm", "rpois", | ||
"var") | ||
importFrom("utils", "flush.console") | ||
|
||
export (aRetain) | ||
export (aRetain.summary) | ||
export (indiv.summary) | ||
export (LRS.summary) | ||
export (agerepro.summary) | ||
export (pedigree.summary) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
\name{LRS.summary} | ||
\alias{LRS.summary} | ||
|
||
\title{ Summary of Lifetime Reproductive Success } | ||
|
||
\description{ | ||
|
||
List of number of matings for each individual of the specified sex, over whole | ||
lifetime and all years, as simulated by \code{aRetain}. Must be run after | ||
\code{aRetain} is run with \code{trackall = TRUE}. | ||
|
||
} | ||
\usage{ | ||
LRS.summary(adata, sex) | ||
} | ||
|
||
\arguments{ | ||
\item{adata}{ list of output from \code{aRetain} } | ||
\item{sex}{ sex to summarize; "male" or "female" } | ||
} | ||
|
||
|
||
\value{ | ||
|
||
A matrix with one row for each individual and two columns: | ||
|
||
\item{ID}{ ID number of the individual. ID numbers are unique within each replicate, but will be repeated across replicates } | ||
\item{NMatings}{ number of times the individual mated during its lifetime. The | ||
individual-level data is not expected to be useful, but can be used to calculate | ||
the mean or a histogram of mating success } | ||
|
||
} | ||
\references{ | ||
|
||
Weiser, E.L., Grueber, C. E., and I. G. Jamieson. 2012. AlleleRetain: A program | ||
to assess management options for conserving allelic diversity in small, isolated | ||
populations. Molecular Ecology Resources 12:1161-1167. | ||
|
||
} | ||
|
||
\author{ Emily L. Weiser \email{emily.l.weiser@gmail.com} } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
\name{agerepro.summary} | ||
\alias{agerepro.summary} | ||
|
||
\title{ Summary of Average Reproductive Success by Age } | ||
|
||
\description{ | ||
|
||
average reproductive success, by age and sex, in the final year of the simulation | ||
by \code{aRetain}. Must be run after \code{aRetain} is run with \code{trackall = | ||
TRUE}. | ||
|
||
} | ||
\usage{ | ||
agerepro.summary(adata, maxage, sex) | ||
} | ||
|
||
\arguments{ | ||
\item{adata}{ list of output from \code{aRetain} } | ||
\item{maxage}{ value of MaxAge used in \code{aRetain}, or the maximum age of | ||
interest for the summary, whichever is smaller } | ||
\item{sex}{ sex to summarize; "male" or "female" } | ||
} | ||
|
||
|
||
\value{ | ||
|
||
A matrix with one row for each age and seven columns: | ||
|
||
\item{age}{ age of each individual, from 0 to MaxAge } | ||
\item{alive.mean}{ mean number of individuals that lived to this age } | ||
\item{alive.sd}{ SD across replicates in the number of individuals that lived | ||
to this age } | ||
\item{matings.mean}{ mean number of matings per individual at this age } | ||
\item{matings.sd}{ SD among individuals in matings.mean } | ||
\item{offspring.mean}{ mean number of offspring produced by individuals | ||
of this age } | ||
\item{offspring.sd}{ SD among individuals in offspring.mean } | ||
|
||
} | ||
\references{ | ||
|
||
Weiser, E.L., Grueber, C. E., and I. G. Jamieson. 2012. AlleleRetain: A program | ||
to assess management options for conserving allelic diversity in small, isolated | ||
populations. Molecular Ecology Resources 12:1161-1167. | ||
|
||
} | ||
|
||
\author{ Emily L. Weiser \email{emily.l.weiser@gmail.com} } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.