{
  "_id": "6a13f9e0acfb0bcc41d34d23",
  "Package": "treeDbalance",
  "Title": "Computation of 3D Tree Imbalance",
  "Version": "1.2.0",
  "Authors@R": "c(\nperson(\"Mareike\", \"Fischer\", , \"email@mareikefischer.de\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9429-0859\")),\nperson(\"Sophie\", \"Kersting\", , \"sophie.kersting@uni-greifswald.de\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-1038-9246\")),\nperson(\"Luise\", \"Kühn\", , \"luise.kuehn@uni-greifswald.de\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-0158-8286\")),\nperson(\"Jule\", \"Möller\", role = \"ctr\")\n)",
  "Maintainer": "Sophie Kersting <sophie.kersting@uni-greifswald.de>",
  "Description": "The main goal of the R package 'treeDbalance' is to\nprovide functions for the computation of several measurements\nof 3D node imbalance and their respective 3D tree imbalance\nindices, as well as to introduce the new 'phylo3D' format for\nrooted 3D tree objects. Moreover, it encompasses an example\ndataset of 3D models of 63 beans in 'phylo3D' format. Please\nnote that this R package was developed alongside the project\ndescribed in the manuscript 'Measuring 3D tree imbalance of\nplant models using graph-theoretical approaches' by M. Fischer,\nS. Kersting, and L. Kühn (2023)\n<doi:10.48550/arXiv.2307.14537>, which provides precise\nmathematical definitions of the measurements. Furthermore, the\npackage contains several helpful functions, for example, some\nauxiliary functions for computing the ancestors, descendants,\nand depths of the nodes, which ensures that the computations\ncan be done in linear time, or functions that convert existing\nformats of 3D tree models of other software into the 'phylo3D'\nformat. Moreover, it comprises functions to extract the\ngraph-theoretical topology without vertices of in- and\nout-degree 1 of rooted 3D trees as well as to adapt node\nenumerations to the common 'phylo' format. Most functions of\n'treeDbalance' require as input a rooted tree in the 'phylo3D'\nformat, an extended 'phylo' format (as introduced in the R\npackage 'ape' 1.9 in November 2006). Such a 'phylo3D' object\nmust have at least two new attributes next to those required by\nthe 'phylo' format: 'node.coord', the coordinates of the nodes,\nas well as 'edge.weight', the literal weight or volume of the\nedges. Optional attributes are 'edge.diam', the diameter of the\nedges, and 'edge.length', the length of the edges. For\nvisualization purposes one can also specify 'edge.type', which\nranges from normal cylinder to bud to leaf, as well as\n'edge.color' to change the color of the edge depiction. This\nproject was supported by the joint research project DIG-IT!\nfunded by the European Social Fund (ESF), reference:\nESF/14-BM-A55-0017/19, and the Ministry of Education, Science\nand Culture of Mecklenburg-Western Pomerania, Germany, as well\nas by the project ArtIGROW, which is a part of the\nWIR!-Alliance 'ArtIFARM – Artificial Intelligence in Farming'\nfunded by the German Federal Ministry of Education and Research\n(FKZ: 03WIR4805).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.3",
  "Packaged": {
    "Date": "2026-05-25 07:23:31 UTC",
    "User": "root"
  },
  "Author": "Mareike Fischer [aut] (ORCID:\n<https://orcid.org/0000-0002-9429-0859>), Sophie Kersting [aut,\ncre] (ORCID: <https://orcid.org/0000-0002-1038-9246>), Luise\nKühn [aut] (ORCID: <https://orcid.org/0000-0002-0158-8286>),\nJule Möller [ctr]",
  "Config/pak/sysreqs": "cmake libfreetype6-dev libglu1-mesa-dev make\ntexlive libpng-dev libuv1-dev libgl1-mesa-dev zlib1g-dev",
  "Repository": "https://sophiekersting.r-universe.dev",
  "Date/Publication": "2026-02-24 18:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/treeDbalance",
  "RemoteRef": "HEAD",
  "RemoteSha": "5371435da5ed477def71bc87e3795216b009e8e2",
  "MD5sum": "bc807e92be602b0e70bfefb7318640de",
  "_user": "sophiekersting",
  "_type": "src",
  "_file": "treeDbalance_1.2.0.tar.gz",
  "_fileid": "1ed09f84e775c5a71c946bd7f12907ae430c683c53cc254a9955b2e6d63a4336",
  "_filesize": 268935,
  "_sha256": "1ed09f84e775c5a71c946bd7f12907ae430c683c53cc254a9955b2e6d63a4336",
  "_created": "2026-05-25T07:23:31.000Z",
  "_published": "2026-05-25T07:27:28.770Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77673072951,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7193644288"
    },
    {
      "job": 77673072933,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193642367"
    },
    {
      "job": 77673072944,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7193644251"
    },
    {
      "job": 77673072927,
      "time": 143,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193634688"
    },
    {
      "job": 77672634693,
      "time": 224,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193604513"
    },
    {
      "job": 77673072952,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193642634"
    },
    {
      "job": 77673072922,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7193622744"
    },
    {
      "job": 77673072928,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7193623631"
    },
    {
      "job": 77673072926,
      "time": 67,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193621624"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/treeDbalance",
  "_commit": {
    "id": "5371435da5ed477def71bc87e3795216b009e8e2",
    "author": "Sophie Kersting <sophie.kersting@uni-greifswald.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.0\n",
    "time": 1771958402
  },
  "_maintainer": {
    "name": "Sophie Kersting",
    "email": "sophie.kersting@uni-greifswald.de",
    "login": "sophiekersting",
    "description": "",
    "uuid": 81629631,
    "orcid": "0000-0002-1038-9246"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "rgl",
      "role": "Imports"
    },
    {
      "package": "R.matlab",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2.0",
      "date": "2026-02-24"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "sophiekersting",
      "count": 1,
      "uuid": 81629631
    }
  ],
  "_userbio": {
    "uuid": 81629631,
    "type": "user",
    "name": "SophieKersting"
  },
  "_downloads": {
    "count": 172,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/treeDbalance"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/treeDbalance.html",
    "manual.pdf"
  ],
  "_realowner": "sophiekersting",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2023-08-21"
    },
    {
      "version": "1.2.0",
      "date": "2026-02-24"
    }
  ],
  "_exports": [
    "A_Index",
    "addImbalPhylo3D",
    "addPhylo3D",
    "addSketchPhylo3D",
    "all3DImbalIndices",
    "alpha_Index",
    "angle3dVec",
    "combined3DIndex",
    "cross3d_prod",
    "dist3dToLine",
    "enum2_1toV",
    "enum2cladewise",
    "enum2depthwise",
    "extendPhylo",
    "extractTopology",
    "getAncs",
    "getChildren",
    "getDescendants",
    "getDescs",
    "getDistFromLeaf",
    "getDistFromRoot",
    "getIncEdgeLens",
    "getIncEdgeWeights",
    "getLeaves",
    "getNodeDepths",
    "getNodesAtDepth",
    "getSubtrCentr",
    "imbalInt_e",
    "imbalProfile",
    "imbalProfile_e",
    "imbalSubdiv_A",
    "imbalSubdiv_alpha",
    "imbalSubdiv_M",
    "imbalSubdiv_mu",
    "M_Index",
    "makePhylo3DBalanced",
    "mu_Index",
    "plotImbalPhylo3D",
    "plotPhylo3D",
    "qsm2phylo3D",
    "qsmList2phylo3D",
    "rotate3dVec",
    "sketchPhylo3D"
  ],
  "_datasets": [
    {
      "name": "example3Dtrees",
      "title": "Examples of rooted 3D trees",
      "object": "example3Dtrees",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "integralImbalIndices",
      "title": "Calculation of integral-based distance- and angle-based 3D imbalance indices",
      "topics": [
        "all3DImbalIndices",
        "alpha_Index",
        "A_Index",
        "imbalInt_e",
        "imbalProfile_e",
        "mu_Index",
        "M_Index"
      ]
    },
    {
      "page": "combinedIndices",
      "title": "Calculation of combined 3D imbalance indices",
      "topics": [
        "combined3DIndex"
      ]
    },
    {
      "page": "changeEnum",
      "title": "Change the node enumeration of trees in phylo(3D) format",
      "topics": [
        "enum2cladewise",
        "enum2depthwise",
        "enum2_1toV"
      ]
    },
    {
      "page": "example3Dtrees",
      "title": "Examples of rooted 3D trees",
      "topics": [
        "example3Dtrees"
      ]
    },
    {
      "page": "usefulPhyloExt",
      "title": "Useful extensions to the phylo format",
      "topics": [
        "extendPhylo",
        "getAncs",
        "getChildren",
        "getDescendants",
        "getDescs",
        "getDistFromLeaf",
        "getDistFromRoot",
        "getIncEdgeLens",
        "getIncEdgeWeights",
        "getLeaves",
        "getNodeDepths",
        "getNodesAtDepth",
        "getSubtrCentr"
      ]
    },
    {
      "page": "extractTopology",
      "title": "Extract the non-3D topology of trees in phylo(3D) format",
      "topics": [
        "extractTopology"
      ]
    },
    {
      "page": "profiles",
      "title": "Calculation of 3D imbalance profiles",
      "topics": [
        "imbalProfile"
      ]
    },
    {
      "page": "centroidAngles",
      "title": "Calculation of the centroid angles",
      "topics": [
        "angle3dVec",
        "imbalSubdiv_A",
        "imbalSubdiv_alpha"
      ]
    },
    {
      "page": "centroidDistances",
      "title": "Calculation of the centroid distances",
      "topics": [
        "cross3d_prod",
        "dist3dToLine",
        "imbalSubdiv_M",
        "imbalSubdiv_mu"
      ]
    },
    {
      "page": "makeBalanced",
      "title": "Turn a rooted 3D tree into one of its balanced versions",
      "topics": [
        "makePhylo3DBalanced",
        "rotate3dVec"
      ]
    },
    {
      "page": "plotPhylo3D",
      "title": "Plot a phylo3D object",
      "topics": [
        "addImbalPhylo3D",
        "addPhylo3D",
        "plotImbalPhylo3D",
        "plotPhylo3D"
      ]
    },
    {
      "page": "phylo3D-printsummaryplot",
      "title": "Print, summary and plot methods for phylo3D objects",
      "topics": [
        "plot.phylo3D",
        "print.phylo3D",
        "summary.phylo3D"
      ]
    },
    {
      "page": "QSM2Phylo",
      "title": "Convert QSM format to a phylo3D object",
      "topics": [
        "qsm2phylo3D",
        "qsmList2phylo3D"
      ]
    },
    {
      "page": "sketchPhylo3D",
      "title": "Sketch a phylo3D object",
      "topics": [
        "addSketchPhylo3D",
        "sketchPhylo3D"
      ]
    }
  ],
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "digest",
    "evaluate",
    "fastmap",
    "fontawesome",
    "fs",
    "highr",
    "htmltools",
    "htmlwidgets",
    "jquerylib",
    "jsonlite",
    "knitr",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "R.matlab",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "rappdirs",
    "rgl",
    "rlang",
    "rmarkdown",
    "sass",
    "tinytex",
    "xfun",
    "yaml"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "treedbalance",
  "_universes": [
    "sophiekersting"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-25T07:26:15.000Z",
      "distro": "noble",
      "commit": "5371435da5ed477def71bc87e3795216b009e8e2",
      "fileid": "c2eb9a573b33ab6251c86d05631a5559feb67e405046695402c747a32487a578",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-25T07:26:09.000Z",
      "distro": "noble",
      "commit": "5371435da5ed477def71bc87e3795216b009e8e2",
      "fileid": "1af45ae088fe4556ae771dd7c4e90d8b10a08a49c23722c997589b808a1ba30e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-25T07:26:16.000Z",
      "commit": "5371435da5ed477def71bc87e3795216b009e8e2",
      "fileid": "de6df713716ec0eb572110e7a751bdaf9b8c7f65e9cd9c9707e6e9760c76d99a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-25T07:25:38.000Z",
      "commit": "5371435da5ed477def71bc87e3795216b009e8e2",
      "fileid": "b163e86c72d7a89e5200969bcda0282d42a5a93784952ae81fc3e68bba43e4d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-05-25T07:26:22.000Z",
      "commit": "5371435da5ed477def71bc87e3795216b009e8e2",
      "fileid": "2294fe06052737e933aeafc04034656e697fb1d84de7b612dae50837b229cbb7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-25T07:24:44.000Z",
      "commit": "5371435da5ed477def71bc87e3795216b009e8e2",
      "fileid": "219cb9a25b017921c969b272938d293eb37737e760ecb07300c4ec84d541f059",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-25T07:24:42.000Z",
      "commit": "5371435da5ed477def71bc87e3795216b009e8e2",
      "fileid": "e7d65911b32041878c06266f73855f6129298c865c9d609eb68a14c17d233a22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-25T07:24:39.000Z",
      "commit": "5371435da5ed477def71bc87e3795216b009e8e2",
      "fileid": "9a71256e675ba8e799c57072a0f1491b93827b117b0c8eea7e028636fbb96f29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sophiekersting/actions/runs/26388572511"
    }
  ]
}