{
  "_id": "6ad08bf9cf31981cbb6ee744",
  "Package": "FAVA",
  "Title": "Quantify Compositional Variability Across Relative Abundance\nVectors",
  "Version": "1.0.9",
  "Authors@R": "person(\"Maike\", \"Morrison\", , \"maike.morrison@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-0430-1401\"))",
  "Description": "Implements the statistic FAVA, an Fst-based Assessment of\nVariability across vectors of relative Abundances, as well as a\nsuite of helper functions which enable the visualization and\nstatistical analysis of relative abundance data. The 'FAVA' R\npackage accompanies the paper, “Quantifying compositional\nvariability in microbial communities with FAVA” by Morrison,\nXue, and Rosenberg (2025) <doi:10.1073/pnas.2413211122>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "URL": "https://maikemorrison.github.io/FAVA/,\nhttps://maikemorrison.github.io/FAVA/articles/microbiome_tutorial.html",
  "BugReports": "https://github.com/MaikeMorrison/FAVA/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://maikemorrison.r-universe.dev",
  "Date/Publication": "2025-03-27 18:50:25 UTC",
  "RemoteUrl": "https://github.com/maikemorrison/fava",
  "RemoteRef": "HEAD",
  "RemoteSha": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-15 07:13:10 UTC",
    "User": "root"
  },
  "Author": "Maike Morrison [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-0430-1401>)",
  "Maintainer": "Maike Morrison <maike.morrison@gmail.com>",
  "_user": "maikemorrison",
  "_type": "src",
  "_file": "FAVA_1.0.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/df34d55cc8fcf21c95013bedefe87ae8ac47782e479eb2b558777ade77eae73c",
  "_filesize": 8971205,
  "_sha256": "df34d55cc8fcf21c95013bedefe87ae8ac47782e479eb2b558777ade77eae73c",
  "_expires": "2027-01-23T08:16:54.000Z",
  "_created": "2026-10-15T07:13:10.000Z",
  "_published": "2026-10-15T08:16:57.294Z",
  "_buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116296877020,
      "time": 641,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11955253665"
    },
    {
      "job": 116296876963,
      "time": 563,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954723999"
    },
    {
      "job": 116296876887,
      "time": 575,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11957881434"
    },
    {
      "job": 116296876839,
      "time": 651,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11956933032"
    },
    {
      "job": 116294600885,
      "time": 384,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11955006499"
    },
    {
      "job": 116296877205,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11955042052"
    },
    {
      "job": 116296877004,
      "time": 695,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11954719468"
    },
    {
      "job": 116296876977,
      "time": 568,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11954813860"
    },
    {
      "job": 116296876950,
      "time": 425,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954612483"
    }
  ],
  "_upstream": "https://github.com/maikemorrison/fava",
  "_commit": {
    "id": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
    "author": "MaikeMorrison <maike.morrison@gmail.com>",
    "committer": "Maike Morrison <52480745+MaikeMorrison@users.noreply.github.com>",
    "message": "Update NEWS for FAVA 1.0.9\n",
    "time": 1743101425
  },
  "_maintainer": {
    "name": "Maike Morrison",
    "email": "maike.morrison@gmail.com",
    "login": "maikemorrison",
    "bluesky": "@maikemorrison.bsky.social",
    "orcid": "0000-0003-0430-1401",
    "description": "",
    "uuid": 52480745
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.2.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "ape",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "phyloseq",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "maikemorrison",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "maikemorrison",
      "count": 134,
      "uuid": 52480745
    }
  ],
  "_userbio": {
    "uuid": 52480745,
    "type": "user",
    "name": "Maike Morrison",
    "followers": 5
  },
  "_downloads": {
    "count": 266,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/FAVA"
  },
  "_devurl": "https://github.com/maikemorrison/fava",
  "_pkgdown": "https://maikemorrison.github.io/FAVA/",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/FAVA.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/maikemorrison/fava",
  "_realowner": "maikemorrison",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.7",
      "date": "2024-12-10"
    },
    {
      "version": "1.0.9",
      "date": "2025-03-27"
    }
  ],
  "_exports": [
    "bootstrap_fava",
    "fava",
    "fava_norm",
    "gini_simpson",
    "gini_simpson_mean",
    "gini_simpson_pooled",
    "plot_relabund",
    "relab_phyloseq",
    "time_weights",
    "window_fava",
    "window_list",
    "window_plot"
  ],
  "_datasets": [
    {
      "name": "xue_microbiome_sample",
      "title": "Temporal microbiome composition data",
      "object": "xue_microbiome_sample",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [],
      "rows": 77,
      "table": true,
      "tojson": true
    },
    {
      "name": "xue_species_info",
      "title": "Table of species information",
      "object": "xue_species_info",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "species_id",
        "kingdom",
        "phylum",
        "class",
        "order",
        "family",
        "genus",
        "species",
        "species_id_number"
      ],
      "rows": 1346,
      "table": true,
      "tojson": true
    },
    {
      "name": "xue_species_similarity",
      "title": "Species similarity matrix for the species included in xue_microbiome_sample",
      "object": "xue_species_similarity",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 524,
      "table": true,
      "tojson": true
    },
    {
      "name": "xue_species_tree",
      "title": "Phylogenetic tree for the species included in xue_microbiome_sample",
      "object": "xue_species_tree",
      "class": [
        "phylo"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "bootstrap_fava",
      "title": "Statistically compare FAVA values between pairs of relative abundance matrices.",
      "topics": [
        "bootstrap_fava"
      ]
    },
    {
      "page": "fava",
      "title": "Compute the Fst of a matrix of compositional vectors",
      "topics": [
        "fava"
      ]
    },
    {
      "page": "fava_norm",
      "title": "Compute the normalized Fst of a matrix of compositional vectors",
      "topics": [
        "fava_norm"
      ]
    },
    {
      "page": "gini_simpson",
      "title": "Compute the Gini-Simpson index of a compositional vector",
      "topics": [
        "gini_simpson"
      ]
    },
    {
      "page": "gini_simpson_mean",
      "title": "Compute the mean Gini-Simpson index of the rows in a matrix of compositional vectors",
      "topics": [
        "gini_simpson_mean"
      ]
    },
    {
      "page": "gini_simpson_pooled",
      "title": "Compute the pooled Gini-Simpson index of the rows in a matrix of compositional vectors",
      "topics": [
        "gini_simpson_pooled"
      ]
    },
    {
      "page": "plot_relabund",
      "title": "Visualize a relative abundance matrix as a stacked bar plot.",
      "topics": [
        "plot_relabund"
      ]
    },
    {
      "page": "relab_phyloseq",
      "title": "Generate a relative abundance matrix with sample metadata and OTU abundances from a phyloseq object.",
      "topics": [
        "relab_phyloseq"
      ]
    },
    {
      "page": "time_weights",
      "title": "Compute a normalized weighting vector based on a vector of sampling times.",
      "topics": [
        "time_weights"
      ]
    },
    {
      "page": "window_fava",
      "title": "Compute FAVA in sliding windows.",
      "topics": [
        "window_fava"
      ]
    },
    {
      "page": "window_list",
      "title": "Generate sliding windows of specified length given the maximum number of samples",
      "topics": [
        "window_list"
      ]
    },
    {
      "page": "window_plot",
      "title": "Generate a plot of FAVA in sliding windows.",
      "topics": [
        "window_plot"
      ]
    },
    {
      "page": "xue_microbiome_sample",
      "title": "Temporal microbiome composition data",
      "topics": [
        "xue_microbiome_sample"
      ]
    },
    {
      "page": "xue_species_info",
      "title": "Table of species information",
      "topics": [
        "xue_species_info"
      ]
    },
    {
      "page": "xue_species_similarity",
      "title": "Species similarity matrix for the species included in xue_microbiome_sample",
      "topics": [
        "xue_species_similarity"
      ]
    },
    {
      "page": "xue_species_tree",
      "title": "Phylogenetic tree for the species included in xue_microbiome_sample",
      "topics": [
        "xue_species_tree"
      ]
    }
  ],
  "_readme": "https://github.com/maikemorrison/fava/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "microbiome_tutorial.Rmd",
      "filename": "microbiome_tutorial.html",
      "title": "Analysis of microbiome data with FAVA",
      "author": "Maike Morrison",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Overview",
        "Data specifications",
        "Optional: species similarity matrix",
        "Example analysis",
        "0 - Example data",
        "1 - Visualize relative abundances",
        "2 - Compute unweighted FAVA",
        "Compute unweighted FAVA with multiple groups",
        "3 - Compute weighted FAVA",
        "4 - Bootstrapping",
        "5 - Sliding windows",
        "Compute FAVA for each window",
        "Visualize FAVA in sliding windows",
        "Conclusion",
        "Supplemental materials",
        "Generating a similarity matrix",
        "(1) Convert a phylogenetic tree to a pairwise phylogenetic distance matrix",
        "(2) Convert a pairwise phylogenetic distance matrix to a pairwise similarity matrix",
        "(3) How do these transformations influence the value of FAVA?",
        "When to normalize FAVA",
        "When $I$ is small, which relative abundance matrices have $F_{ST}=1$?",
        "In general, what is the upper bound on $F_{ST}$ conditional on $M$ and $I$?",
        "Example"
      ],
      "created": "2023-06-12 19:55:48",
      "modified": "2024-12-11 23:10:40",
      "commits": 28
    }
  ],
  "_score": 4.720159303405957,
  "_indexed": true,
  "_nocasepkg": "fava",
  "_universes": [
    "maikemorrison"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-10-15T07:15:30.000Z",
      "distro": "resolute",
      "commit": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
      "fileid": "https://r2.ropensci.org/2cc9e27d6b80461f151bc7c2fdd790303080ad79391e3156722f5b96097a69ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-10-15T07:16:12.000Z",
      "distro": "resolute",
      "commit": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
      "fileid": "https://r2.ropensci.org/3d9a3aff7158e3b8ef0108ac3d0641fe243c747d8dc8ef278975adac5a045ae2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.9",
      "date": "2026-10-15T08:09:13.000Z",
      "commit": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
      "fileid": "https://r2.ropensci.org/a40d0677be9e5904bf5194b20de80ceb716271729a14248901f5863fcd767fd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.9",
      "date": "2026-10-15T08:01:38.000Z",
      "commit": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
      "fileid": "https://r2.ropensci.org/507dd4151589990782916cde25b52f4c9a4a1d1f4f5a97c4ededae90e19e9fa1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.9",
      "date": "2026-10-15T07:15:23.000Z",
      "commit": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
      "fileid": "https://r2.ropensci.org/e1c979f8d498b3ffe084ffb60ce5f73206de5834a2d4b9419cbc97269375f0a9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.9",
      "date": "2026-10-15T07:14:40.000Z",
      "commit": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
      "fileid": "https://r2.ropensci.org/33c3467756b981996c3e3be1ab1f199f84075edf4b4f49e3b570daf668100d22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.9",
      "date": "2026-10-15T07:14:39.000Z",
      "commit": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
      "fileid": "https://r2.ropensci.org/7af52fe0b35bf7549ea5bd1c8928b89f2395e15405b5db3711c9c87567a225d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.9",
      "date": "2026-10-15T07:14:30.000Z",
      "commit": "383a576d5e8bbeda44e66d6fbd37a01eec57a7fa",
      "fileid": "https://r2.ropensci.org/041a4cb6657f7017a2375082481d31b07c20c30ddae55db4e3bd1e7dbaf17ca2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maikemorrison/actions/runs/38696593793"
    }
  ]
}