{
  "_id": "6acc892ca14063b82c3a68a7",
  "Package": "phylowise",
  "Title": "Phylogenetic Pairwise Contrasts",
  "Version": "0.0.1",
  "Authors@R": "c(person(given=\"Jordan\", family=\"Douglas\", email=\"jordan.douglas@auckland.ac.nz\", role=c(\"aut\", \"cre\")),\nperson(given=\"Lindell\", family=\"Bromham\", role=\"aut\"))",
  "Maintainer": "Jordan Douglas <jordan.douglas@auckland.ac.nz>",
  "Author": "Jordan Douglas [aut, cre], Lindell Bromham [aut]",
  "Description": "A phylogenetic comparative method for finding associations\nbetween biological traits and molecular evolutionary rates. The\nmethod samples pairs from a phylogeny such that each pair has\nnon-overlapping edge paths, and can therefore be treated as\nstatistically independent observations. Linear regression is\nperformed on the pair contrasts. This approach is similar to\nphylogenetically independent contrasts (PIC) but without\nreconstructing the traits at internal nodes, and is better\nsuited for finding trait-rate associations than phylogenetic\ngeneralised least squares (PGLS). Refer to Douglas and Bromham\n(2026) <doi:10.64898/2026.08.13.744736> for further details.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "8.0.0",
  "URL": "https://github.com/jordandouglas/phylowise",
  "Repository": "https://jordandouglas.r-universe.dev",
  "Date/Publication": "2026-10-12 13:54:43 UTC",
  "RemoteUrl": "https://github.com/jordandouglas/phylowise",
  "RemoteRef": "HEAD",
  "RemoteSha": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
  "RemoteSubdir": "phylowise",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-12 07:07:59 UTC",
    "User": "root"
  },
  "_user": "jordandouglas",
  "_type": "src",
  "_file": "phylowise_0.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/d279c200a8cf34554939e51cb6f1b7eb5f6190d5aaa26fc8cc5eecb133991faa",
  "_filesize": 186771,
  "_sha256": "d279c200a8cf34554939e51cb6f1b7eb5f6190d5aaa26fc8cc5eecb133991faa",
  "_expires": "2027-01-20T07:15:54.000Z",
  "_created": "2026-10-12T07:07:59.000Z",
  "_published": "2026-10-12T07:15:56.542Z",
  "_buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114701080106,
      "time": 118,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11731353162"
    },
    {
      "job": 114701080170,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11732203202"
    },
    {
      "job": 114701080158,
      "time": 112,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11732438001"
    },
    {
      "job": 114701080166,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11732058364"
    },
    {
      "job": 114701080242,
      "time": 187,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11731923398"
    },
    {
      "job": 114701080254,
      "time": 322,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11731973832"
    },
    {
      "job": 114701080148,
      "time": 251,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11731293422"
    },
    {
      "job": 114701080215,
      "time": 313,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11732323463"
    },
    {
      "job": 114700071043,
      "time": 210,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11732202733"
    },
    {
      "job": 114701080110,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11732178164"
    },
    {
      "job": 114701080262,
      "time": 338,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11731533555"
    },
    {
      "job": 114701080169,
      "time": 148,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11732278354"
    },
    {
      "job": 114701080289,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11731883221"
    },
    {
      "job": 114701080270,
      "time": 428,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11732173965"
    },
    {
      "job": 114701080235,
      "time": 110,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11732138206"
    }
  ],
  "_upstream": "https://github.com/jordandouglas/phylowise",
  "_commit": {
    "id": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
    "author": "jordandouglas <jordandouglas@windowslive.com>",
    "committer": "jordandouglas <jordandouglas@windowslive.com>",
    "message": "update false positive tests to OU\n",
    "time": 1791813283
  },
  "_maintainer": {
    "name": "Jordan Douglas",
    "email": "jordan.douglas@auckland.ac.nz",
    "login": "uglytrees",
    "description": "",
    "uuid": 56374351
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "ape",
      "role": "Depends"
    },
    {
      "package": "BMA",
      "role": "Depends"
    },
    {
      "package": "phylotate",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    }
  ],
  "_owner": "jordandouglas",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 6
    },
    {
      "week": "2026-32",
      "n": 19
    },
    {
      "week": "2026-33",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "jordandouglas",
      "count": 30,
      "uuid": 31677293
    }
  ],
  "_userbio": {
    "uuid": 31677293,
    "type": "user",
    "name": "jordandouglas",
    "followers": 12,
    "description": "Computational biology"
  },
  "_downloads": {
    "count": 204,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/phylowise"
  },
  "_devurl": "https://github.com/jordandouglas/phylowise",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/phylowise.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/jordandouglas/phylowise",
  "_realowner": "jordandouglas",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2026-08-21"
    }
  ],
  "_exports": [
    "getDistanceMatrix",
    "plotPairs",
    "PPC.test",
    "readBeastTrees",
    "sampleTaxonPairs",
    "simulateSubstitutions",
    "simulateTrait"
  ],
  "_help": [
    {
      "page": "getDistanceMatrix",
      "title": "Build a distance matrix from a tree (time tree or substitution tree)",
      "topics": [
        "getDistanceMatrix"
      ]
    },
    {
      "page": "plotPairs",
      "title": "Plot a set of sampled pairs onto a tree",
      "topics": [
        "plotPairs"
      ]
    },
    {
      "page": "PPC.test",
      "title": "Phylogenetic pairwise contrast test on a series of taxon pairs, using ordinary least squares and Bayesian model averaging (BMA). This method does not do multivariate regression, but it returns the data frame that can be used for it.",
      "topics": [
        "PPC.test"
      ]
    },
    {
      "page": "readBeastTrees",
      "title": "Read a single summary tree or a posterior distribution of annotated nexus trees generated by the BEAST software suites, and apply burn-in. Built on top of the phylotate::read_annotated function.",
      "topics": [
        "readBeastTrees"
      ]
    },
    {
      "page": "sampleTaxonPairs",
      "title": "Sample a set of taxon pairs from the tree. These taxa will have non-overlapping edges between their paths and can this be treated as statistically independent. The algorithm iteratively searches for two random taxa that satisfy sampling requirements until there are no more valid pairs. Each pair must descend from an MRCA with dist.min <= tMRCA <= dist.max. c++ is used to speed up the runtime of this code.",
      "topics": [
        "sampleTaxonPairs"
      ]
    },
    {
      "page": "simulateSubstitutions",
      "title": "Simulate a substitution count down each branch of a tree. First, the branch rates are sampled from a correlated, uncorrelated or OU process that can be dependent on traits. Then the number of substitutions along each branch is sampled from a Poisson distribution.",
      "topics": [
        "simulateSubstitutions"
      ]
    },
    {
      "page": "simulateTrait",
      "title": "Simulate a trait down a tree using Brownian motion (BM)",
      "topics": [
        "simulateTrait"
      ]
    }
  ],
  "_readme": "https://github.com/jordandouglas/phylowise/raw/HEAD/README.md",
  "_rundeps": [
    "ape",
    "BMA",
    "DEoptimR",
    "digest",
    "inline",
    "lattice",
    "leaps",
    "Matrix",
    "mvtnorm",
    "nlme",
    "pcaPP",
    "phylotate",
    "Rcpp",
    "robustbase",
    "rrcov",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "phylowise",
  "_universes": [
    "jordandouglas",
    "uglytrees"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-12T07:09:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/fe9554350c0d8c4075c5e74137425120a2c77c6db25c26b808d52218ecc83a0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-12T07:10:16.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/824989e73d19baff3ccc24189aefea075f34e464e989e91a4ae561d519429a7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-12T07:09:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/7be8c787b7c8fc3498c40704776113cece00a6def434909a4abefac0a43ef6f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-12T07:10:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/f90e21349c372f61cb282c89881efdb7127137a9fb4e8d411122385a955b446a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-12T07:10:26.000Z",
      "arch": "aarch64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/480613c63c33227dba8a8d71a80db537dc480db901d68d990990fb6aea9c51c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-12T07:12:02.000Z",
      "arch": "x86_64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/f3bded40c319ce0635c571da3655d5522cd53cab40dc74539d6b799560a1b361",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-12T07:10:54.000Z",
      "arch": "aarch64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/f1c1c1917b6cde2dbeade3bd1fd4abc1d5988b85867aeb26442ee66d382db51d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-12T07:12:05.000Z",
      "arch": "x86_64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/efd60981141a42a60b7d0451ff29d086ee63c230d8af6801d924616986e6c077",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-10-12T07:09:57.000Z",
      "arch": "emscripten",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/3fc1564e6cae3e24773680109faa1e05a76b9a6dd6ed78d16b9538f8d2d9fb91",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-12T07:12:41.000Z",
      "arch": "aarch64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/cca845679da271ea902c268b9dd6ffb39bf908c553106d2f9569f25c9e6f9598",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-12T07:09:18.000Z",
      "arch": "x86_64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/84929553211bd16540e687b98f953e226d9caa1108f00e85b77f1691195e4dc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-12T07:09:09.000Z",
      "arch": "x86_64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/674e19c489c68211cc4e3fc85369c6ddf95547c1f22c6212239bc42cc0ba192e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-12T07:14:20.000Z",
      "arch": "aarch64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/2ecd63510396cbc7205b375c3bf2e09b7bc941235f4ecbce54cb6abfe2acaa4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-12T07:09:08.000Z",
      "arch": "x86_64",
      "commit": "06b9af4a4b0739a8ec5773a5ec6e4c2bd11516cb",
      "fileid": "https://r2.ropensci.org/e0697c90ae8d32d8954e624c027dce361ad5a0a48397e2425ae57b1d305f3ef6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jordandouglas/actions/runs/38215761075"
    }
  ]
}