{
  "_id": "6a23e0c3530b9bc726be7b24",
  "Package": "hilldiv",
  "Title": "Integral Analysis of Diversity Based on Hill Numbers",
  "Version": "1.5.3",
  "Author": "Antton Alberdi [aut, cre]",
  "Maintainer": "Antton Alberdi <antton.alberdi@bio.ku.dk>",
  "Description": "Tools for analysing, comparing, visualising and\npartitioning diversity based on Hill numbers. 'hilldiv' is an R\npackage that provides a set of functions to assist analysis of\ndiversity for diet reconstruction, microbial community\nprofiling or more general ecosystem characterisation analyses\nbased on Hill numbers, using OTU/ASV tables and associated\nphylogenetic trees as inputs. The package includes functions\nfor (phylo)diversity measurement, (phylo)diversity profile\nplotting, (phylo)diversity comparison between samples and\ngroups, (phylo)diversity partitioning and (dis)similarity\nmeasurement. All of these grounded in abundance-based and\nincidence-based Hill numbers. The statistical framework\ndeveloped around Hill numbers encompasses many of the most\nbroadly employed diversity (e.g. richness, Shannon index,\nSimpson index), phylogenetic diversity (e.g. Faith's PD,\nAllen's H, Rao's quadratic entropy) and dissimilarity (e.g.\nSorensen index, Unifrac distances) metrics. This enables the\nmost common analyses of diversity to be performed while\ngrounded in a single statistical framework. The methods are\ndescribed in Jost et al. (2007) <DOI:10.1890/06-1736.1>, Chao\net al. (2010) <DOI:10.1098/rstb.2010.0272> and Chiu et al.\n(2014) <DOI:10.1890/12-0960.1>; and reviewed in the framework\nof molecularly characterised biological systems in Alberdi &\nGilbert (2019) <DOI:10.1111/1755-0998.13014>.",
  "License": "GPL-3",
  "LazyData": "true",
  "URL": "https://github.com/anttonalberdi/hilldiv",
  "BugReports": "https://github.com/anttonalberdi/hilldiv/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.0",
  "Collate": "'index_div.R' 'hill_div.R' 'div_profile.R'\n'div_profile_plot.R' 'div_test.R' 'div_test_plot.R'\n'depth_cov.R' 'div_part.R' 'alpha_div.R' 'gamma_div.R'\n'beta_dis.R' 'pair_dis.R' 'pair_dis_plot.R' 'dis_nmds.R'\n'UqN.R' 'CqN.R' 'VqN.R' 'SqN.R' 'match_data.R'\n'merge_samples.R' 'depth_filt.R' 'copy_filt.R' 'to.incidence.R'\n'to.occurrences.R' 'tss.R' 'is.nested.R' 'tree_depth.R'\n'data.R'",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libjpeg-dev\nlibpng-dev libuv1-dev libxml2-dev",
  "Repository": "https://phylotastic.r-universe.dev",
  "Date/Publication": "2021-02-08 08:35:16 UTC",
  "RemoteUrl": "https://github.com/anttonalberdi/hilldiv",
  "RemoteRef": "HEAD",
  "RemoteSha": "551c284eaa6c48e54b57b528887127753d6f1949",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 08:53:16 UTC",
    "User": "root"
  },
  "MD5sum": "a471a93d73e67a65cbdd1467c5be97dd",
  "_user": "phylotastic",
  "_type": "src",
  "_file": "hilldiv_1.5.3.tar.gz",
  "_fileid": "1ba1b3c6eed30dcba980b415373ec78aa635ab593e0272c5c2a0247ea89742ca",
  "_filesize": 1584871,
  "_sha256": "1ba1b3c6eed30dcba980b415373ec78aa635ab593e0272c5c2a0247ea89742ca",
  "_created": "2026-06-06T08:53:16.000Z",
  "_published": "2026-06-06T08:56:35.969Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79865653709,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7453029846"
    },
    {
      "job": 79865653734,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7453029494"
    },
    {
      "job": 79865653763,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7453022533"
    },
    {
      "job": 79865653737,
      "time": 82,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7453021818"
    },
    {
      "job": 79865429041,
      "time": 235,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453012153"
    },
    {
      "job": 79865653749,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453029343"
    },
    {
      "job": 79865653755,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7453020753"
    },
    {
      "job": 79865653732,
      "time": 72,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7453020817"
    },
    {
      "job": 79865653708,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7453023235"
    }
  ],
  "_buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/anttonalberdi/hilldiv",
  "_commit": {
    "id": "551c284eaa6c48e54b57b528887127753d6f1949",
    "author": "anttonalberdi <Ss7679Bd>",
    "committer": "anttonalberdi <Ss7679Bd>",
    "message": "Divtest colour issue fix\n",
    "time": 1612773316
  },
  "_maintainer": {
    "name": "Antton Alberdi",
    "email": "antton.alberdi@bio.ku.dk",
    "login": "metabarcodingdiversity",
    "description": "",
    "uuid": 63574140
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "ape",
      "role": "Imports"
    },
    {
      "package": "vegan",
      "role": "Imports"
    },
    {
      "package": "geiger",
      "role": "Imports"
    },
    {
      "package": "qgraph",
      "role": "Imports"
    },
    {
      "package": "FSA",
      "role": "Imports"
    }
  ],
  "_owner": "anttonalberdi",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 12,
  "_userbio": {
    "uuid": 1652822,
    "type": "organization",
    "name": "phylotastic"
  },
  "_downloads": {
    "count": 11,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hilldiv"
  },
  "_devurl": "https://github.com/anttonalberdi/hilldiv",
  "_searchresults": 67,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hilldiv.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.5.1",
      "date": "2019-10-01"
    }
  ],
  "_exports": [
    "alpha_div",
    "beta_dis",
    "copy_filt",
    "CqN",
    "depth_cov",
    "depth_filt",
    "dis_nmds",
    "div_part",
    "div_profile",
    "div_profile_plot",
    "div_test",
    "div_test_plot",
    "gamma_div",
    "hill_div",
    "index_div",
    "is.nested",
    "match_data",
    "merge_samples",
    "pair_dis",
    "pair_dis_plot",
    "SqN",
    "to.incidence",
    "to.occurrences",
    "tree_depth",
    "tss",
    "UqN",
    "VqN"
  ],
  "_datasets": [
    {
      "name": "bat.diet.hierarchy",
      "title": "Bat diet hierarchy",
      "object": "bat.diet.hierarchy",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sample",
        "Species"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "bat.diet.otutable",
      "title": "Bat diet OTU table",
      "object": "bat.diet.otutable",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Msc1",
        "Msc2",
        "Msc3",
        "Msc4",
        "Msc5",
        "Mmy1",
        "Mmy2",
        "Mmy3",
        "Mmy4",
        "Mmy5",
        "Rme1",
        "Rme2",
        "Rme3",
        "Rme4",
        "Rme5",
        "Mda1",
        "Mda2",
        "Mda3",
        "Mda4",
        "Mda5",
        "Mca1",
        "Mca2",
        "Mca3",
        "Mca4",
        "Mca5",
        "Reu1",
        "Reu2",
        "Reu3",
        "Reu4",
        "Reu5",
        "Mem1",
        "Mem2",
        "Mem3",
        "Mem4",
        "Mem5",
        "Rhi1",
        "Rhi2",
        "Rhi3",
        "Rhi4",
        "Rhi5"
      ],
      "rows": 363,
      "table": true,
      "tojson": true
    },
    {
      "name": "bat.diet.tree",
      "title": "Bat diet OTU tree",
      "object": "bat.diet.tree",
      "class": [
        "phylo"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "alpha_div",
      "title": "Alpha diversity",
      "topics": [
        "alpha_div"
      ]
    },
    {
      "page": "bat.diet.hierarchy",
      "title": "Bat diet hierarchy",
      "topics": [
        "bat.diet.hierarchy"
      ]
    },
    {
      "page": "bat.diet.otutable",
      "title": "Bat diet OTU table",
      "topics": [
        "bat.diet.otutable"
      ]
    },
    {
      "page": "bat.diet.tree",
      "title": "Bat diet OTU tree",
      "topics": [
        "bat.diet.tree"
      ]
    },
    {
      "page": "beta_dis",
      "title": "Beta dissimilarity",
      "topics": [
        "beta_dis"
      ]
    },
    {
      "page": "copy_filt",
      "title": "OTU/ASV copy number filtering",
      "topics": [
        "copy_filt"
      ]
    },
    {
      "page": "CqN",
      "title": "Sørensen-type overlap",
      "topics": [
        "CqN"
      ]
    },
    {
      "page": "depth_cov",
      "title": "Depth coverage assessment",
      "topics": [
        "depth_cov"
      ]
    },
    {
      "page": "depth_filt",
      "title": "Sequencing depth filtering",
      "topics": [
        "depth_filt"
      ]
    },
    {
      "page": "dis_nmds",
      "title": "Dissimilarity NMDS plot",
      "topics": [
        "dis_nmds"
      ]
    },
    {
      "page": "div_part",
      "title": "Multi-level diversity partitioning",
      "topics": [
        "div_part"
      ]
    },
    {
      "page": "div_profile",
      "title": "Diversity profile",
      "topics": [
        "div_profile"
      ]
    },
    {
      "page": "div_profile_plot",
      "title": "Diversity profile plot",
      "topics": [
        "div_profile_plot"
      ]
    },
    {
      "page": "div_test",
      "title": "Diversity test",
      "topics": [
        "div_test"
      ]
    },
    {
      "page": "div_test_plot",
      "title": "Diversity test plotting",
      "topics": [
        "div_test_plot"
      ]
    },
    {
      "page": "gamma_div",
      "title": "Gamma diversity",
      "topics": [
        "gamma_div"
      ]
    },
    {
      "page": "hill_div",
      "title": "Hill numbers computation",
      "topics": [
        "hill_div"
      ]
    },
    {
      "page": "index_div",
      "title": "Diversity index computation",
      "topics": [
        "index_div"
      ]
    },
    {
      "page": "is.nested",
      "title": "Check if hierachy is nested",
      "topics": [
        "is.nested"
      ]
    },
    {
      "page": "match_data",
      "title": "Match data",
      "topics": [
        "match_data"
      ]
    },
    {
      "page": "merge_samples",
      "title": "Merge samples",
      "topics": [
        "merge_samples"
      ]
    },
    {
      "page": "pair_dis",
      "title": "Pairwise dissimilarity",
      "topics": [
        "pair_dis"
      ]
    },
    {
      "page": "pair_dis_plot",
      "title": "Pairwise dissimilarity plot",
      "topics": [
        "pair_dis_plot"
      ]
    },
    {
      "page": "SqN",
      "title": "Jaccard-type turnover-complement",
      "topics": [
        "SqN"
      ]
    },
    {
      "page": "to.incidence",
      "title": "Transform to incidence",
      "topics": [
        "to.incidence"
      ]
    },
    {
      "page": "to.occurrences",
      "title": "Transform abundance vector or matrix into occurrences",
      "topics": [
        "to.occurrences"
      ]
    },
    {
      "page": "tree_depth",
      "title": "Tree depth",
      "topics": [
        "tree_depth"
      ]
    },
    {
      "page": "tss",
      "title": "Total Sum Scaling normalisation",
      "topics": [
        "tss"
      ]
    },
    {
      "page": "UqN",
      "title": "Jaccard-type overlap",
      "topics": [
        "UqN"
      ]
    },
    {
      "page": "VqN",
      "title": "Sørensen-type turnover-complement",
      "topics": [
        "VqN"
      ]
    }
  ],
  "_readme": "https://github.com/anttonalberdi/hilldiv/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ape",
    "backports",
    "base64enc",
    "boot",
    "broom",
    "bslib",
    "ca",
    "cachem",
    "car",
    "carData",
    "checkmate",
    "cli",
    "cluster",
    "clusterGeneration",
    "coda",
    "codetools",
    "colorspace",
    "combinat",
    "corpcor",
    "corrplot",
    "corrr",
    "cowplot",
    "cpp11",
    "data.table",
    "DEoptim",
    "Deriv",
    "deSolve",
    "digest",
    "doBy",
    "doParallel",
    "dplyr",
    "dunn.test",
    "evaluate",
    "expm",
    "farver",
    "fastmap",
    "fdrtool",
    "FlexParamCurve",
    "fontawesome",
    "foreach",
    "forecast",
    "foreign",
    "Formula",
    "fracdiff",
    "fs",
    "FSA",
    "future",
    "future.apply",
    "gclus",
    "geiger",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glasso",
    "globals",
    "glue",
    "GPArotation",
    "gridExtra",
    "gtable",
    "gtools",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "isoband",
    "iterators",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lavaan",
    "lifecycle",
    "listenv",
    "lme4",
    "lmtest",
    "magrittr",
    "maps",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "mnormt",
    "modelr",
    "mvtnorm",
    "ncbit",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "optimParallel",
    "osqp",
    "parallelly",
    "pbapply",
    "pbivnorm",
    "pbkrtest",
    "permute",
    "phangorn",
    "phytools",
    "pillar",
    "pkgconfig",
    "plotrix",
    "plyr",
    "png",
    "polynom",
    "progressr",
    "psych",
    "purrr",
    "qap",
    "qgraph",
    "quadprog",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "registry",
    "reshape2",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstatix",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "scatterplot3d",
    "scrutiny",
    "seriation",
    "SparseM",
    "stringi",
    "stringr",
    "subplex",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "TSP",
    "urca",
    "utf8",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 3.6042260530844703,
  "_indexed": false,
  "_nocasepkg": "hilldiv",
  "_universes": [
    "phylotastic"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.3",
      "date": "2026-06-06T08:56:06.000Z",
      "distro": "noble",
      "commit": "551c284eaa6c48e54b57b528887127753d6f1949",
      "fileid": "1e0954fd8ebfbf2db1366f256b97e13fef3b2d2ff52f1f25efaa19f36f69e047",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.3",
      "date": "2026-06-06T08:56:03.000Z",
      "distro": "noble",
      "commit": "551c284eaa6c48e54b57b528887127753d6f1949",
      "fileid": "0336fb183bbf93112f54571b6cec64a86a697eb046f4b0dc04fdedb5b4194b0d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.3",
      "date": "2026-06-06T08:55:01.000Z",
      "commit": "551c284eaa6c48e54b57b528887127753d6f1949",
      "fileid": "3894fb3f9e4d4ef0ca6e1dda31d5013e23c5ba02e5bb3acb9ca5b455e117b129",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.3",
      "date": "2026-06-06T08:54:57.000Z",
      "commit": "551c284eaa6c48e54b57b528887127753d6f1949",
      "fileid": "e712e2e776ff712ff079e19eb3025f6daa1f54aa176cab07f567c6067edadbff",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.3",
      "date": "2026-06-06T08:56:09.000Z",
      "commit": "551c284eaa6c48e54b57b528887127753d6f1949",
      "fileid": "89fc9b422489d5528fcdeb1fbafb3730bdbbc8b0b3654a165fe33573ce503ae3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.3",
      "date": "2026-06-06T08:54:42.000Z",
      "commit": "551c284eaa6c48e54b57b528887127753d6f1949",
      "fileid": "29324363e1b3821b8601de0e5762728f8098e2c2835366c5d33aa6753de3d627",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.3",
      "date": "2026-06-06T08:54:43.000Z",
      "commit": "551c284eaa6c48e54b57b528887127753d6f1949",
      "fileid": "63b55fd15c735361c433934a211c805e9c0aa52c413d25cf8859d8f6e9488602",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.3",
      "date": "2026-06-06T08:55:03.000Z",
      "commit": "551c284eaa6c48e54b57b528887127753d6f1949",
      "fileid": "aa5fbc29ccb2334bb0f5c2ce0e94f99a628dc48c364fff72934c162e74f3a4ee",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/phylotastic/actions/runs/27057866029"
    }
  ]
}