Package: conStruct 1.0.6

conStruct: Models Spatially Continuous and Discrete Population Genetic Structure

A method for modeling genetic data as a combination of discrete layers, within each of which relatedness may decay continuously with geographic distance. This package contains code for running analyses (which are implemented in the modeling language 'rstan') and visualizing and interpreting output. See the paper for more details on the model and its utility.

Authors:Gideon Bradburd [aut, cre]

conStruct_1.0.6.tar.gz
conStruct_1.0.6.zip(r-4.5)conStruct_1.0.6.zip(r-4.4)conStruct_1.0.6.zip(r-4.3)
conStruct_1.0.6.tgz(r-4.4-x86_64)conStruct_1.0.6.tgz(r-4.4-arm64)conStruct_1.0.6.tgz(r-4.3-x86_64)conStruct_1.0.6.tgz(r-4.3-arm64)
conStruct_1.0.6.tar.gz(r-4.5-noble)conStruct_1.0.6.tar.gz(r-4.4-noble)
conStruct.pdf |conStruct.html
conStruct/json (API)
NEWS

# Install 'conStruct' in R:
install.packages('conStruct', repos = c('https://gbradburd.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gbradburd/construct/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • conStruct.data - Example dataset used in a 'conStruct' analysis
  • data.block - Example 'data.block' generated by a 'conStruct' analysis

On CRAN:

cpp

8.25 score 35 stars 51 scripts 337 downloads 10 mentions 9 exports 59 dependencies

Last updated 1 years agofrom:a41049e475. Checks:2 OK, 7 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 24 2025
R-4.5-win-x86_64NOTEJan 24 2025
R-4.5-linux-x86_64OKJan 24 2025
R-4.4-win-x86_64NOTEJan 24 2025
R-4.4-mac-x86_64NOTEJan 24 2025
R-4.4-mac-aarch64NOTEJan 24 2025
R-4.3-win-x86_64NOTEJan 24 2025
R-4.3-mac-x86_64NOTEJan 24 2025
R-4.3-mac-aarch64NOTEJan 24 2025

Exports:calculate.layer.contributioncompare.two.runsconStructmake.admix.pie.plotmake.all.the.plotsmake.structure.plotmatch.layers.x.runsstructure2conStructx.validation

Dependencies:abindbackportsBHcallrcarolinecheckmateclicodetoolscolorspacedescdistributionaldoParallelfansifarverforeachgenericsggplot2gluegridExtragtablegtoolsinlineisobanditeratorslabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsscalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

How to format data for a conStruct analysis

Rendered fromformat-data.Rmdusingknitr::rmarkdownon Jan 24 2025.

Last update: 2023-12-21
Started: 2018-08-15

How to compare conStruct model runs

Rendered frommodel-comparison.Rmdusingknitr::rmarkdownon Jan 24 2025.

Last update: 2018-09-05
Started: 2018-08-21

How to run a conStruct analysis

Rendered fromrun-conStruct.Rmdusingknitr::rmarkdownon Jan 24 2025.

Last update: 2018-09-05
Started: 2018-08-15

How to visualize the results of a conStruct analysis

Rendered fromvisualize-results.Rmdusingknitr::rmarkdownon Jan 24 2025.

Last update: 2019-01-02
Started: 2018-09-04