{
  "_id": "6adb422055731c523ae769a0",
  "Package": "fbnet",
  "Title": "Forensic Bayesian Networks",
  "Version": "1.0.3",
  "Authors@R": "c(person(given = \"Franco\",\nfamily = \"Marsico\",\nrole = c(\"aut\", \"cre\"),\nemail = \"franco.lmarsico@gmail.com\"),\nperson(given = \"Ariel\",\nfamily = \"Chernomoretz\",\nrole = c(\"aut\"),\nemail = \"ariel@df.uba.ar\"))",
  "Description": "Open-source package for computing likelihood ratios in\nkinship testing and human identification cases (Chernomoretz et\nal. (2021) <doi:10.1016/j.fsir.2020.100132>). It has the core\nfunction of the software GENis, developed by Fundación Sadosky.\nIt relies on a Bayesian Networks framework and is particularly\nwell suited to efficiently perform large-size queries against\ndatabases of missing individuals (Darwiche (2009)\n<doi:10.1017/CBO9780511811357>).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://marsicofl.github.io/fbnet/,\nhttps://github.com/MarsicoFL/fbnet",
  "BugReports": "https://github.com/MarsicoFL/fbnet/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://marsicofl.r-universe.dev",
  "Date/Publication": "2026-08-24 19:29:01 UTC",
  "RemoteUrl": "https://github.com/marsicofl/fbnet",
  "RemoteRef": "HEAD",
  "RemoteSha": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-23 11:13:52 UTC",
    "User": "root"
  },
  "Author": "Franco Marsico [aut, cre],\nAriel Chernomoretz [aut]",
  "Maintainer": "Franco Marsico <franco.lmarsico@gmail.com>",
  "_user": "marsicofl",
  "_type": "src",
  "_file": "fbnet_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/c8062aedd2979245d686cf845984a7f25b9e9671aa115ff12fd3ce639659e5bf",
  "_filesize": 311756,
  "_sha256": "c8062aedd2979245d686cf845984a7f25b9e9671aa115ff12fd3ce639659e5bf",
  "_expires": "2027-01-31T11:16:46.000Z",
  "_created": "2026-10-23T11:13:52.000Z",
  "_published": "2026-10-23T11:16:48.189Z",
  "_upstream": "https://github.com/marsicofl/fbnet",
  "_status": "success",
  "_maintainer": {
    "name": "Franco Marsico",
    "email": "franco.lmarsico@gmail.com",
    "login": "marsicofl",
    "description": "Biologist, working on genomics",
    "uuid": 55600771
  },
  "_jobs": [
    {
      "job": 120384241775,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12497637355"
    },
    {
      "job": 120384241741,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12497691423"
    },
    {
      "job": 120384241834,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12497671922"
    },
    {
      "job": 120384241728,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12496803805"
    },
    {
      "job": 120382509496,
      "time": 266,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12497681076"
    },
    {
      "job": 120384241829,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12497423613"
    },
    {
      "job": 120384242014,
      "time": 84,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12497173060"
    },
    {
      "job": 120384241788,
      "time": 95,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12496914593"
    },
    {
      "job": 120384241779,
      "time": 73,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12496969260"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205",
  "_commit": {
    "id": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
    "author": "marsicoFL <franco.lmarsico@gmail.com>",
    "committer": "marsicoFL <franco.lmarsico@gmail.com>",
    "message": "Rewrite README around the from_pedtools workflow\n\nThe documented entry point was initBN(toyped), which now stops with an\nerror for any user without paramlink (archived from CRAN in 2022). The\nREADME led with an example that no longer runs.\n\n- Lead with from_pedtools() and a two-marker mother/child case, showing\n  the conditioned maternal distribution against the unconditioned\n  paternal one.\n- Add a worked LR section with reportLR() and getQSetRMP(); the\n  per-marker value (0.35/0.24 = 1.4583) can be checked by hand.\n- Add a pedtools/forrel example on linearPed(2) with NorwegianFrequencies.\n- Add a table mapping the five pipeline steps to their functions, and a\n  section stating what the legacy paramlink entry points now require.\n\nAll code blocks and their printed output were run against the package.\n",
    "time": 1787599741
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Rsolnp",
      "role": "Imports"
    },
    {
      "package": "mispitools",
      "version": ">= 1.4.0",
      "role": "Suggests"
    },
    {
      "package": "pedtools",
      "role": "Suggests"
    },
    {
      "package": "forrel",
      "role": "Suggests"
    },
    {
      "package": "paramlink",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "marsicofl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-15",
      "n": 4
    },
    {
      "week": "2026-35",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "statistics"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "marsicofl",
      "count": 223,
      "uuid": 55600771
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 55600771,
    "type": "user",
    "name": "Franco Marsico",
    "followers": 124,
    "description": "Biologist, working on genomics"
  },
  "_downloads": {
    "count": 317,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fbnet"
  },
  "_devurl": "https://github.com/marsicofl/fbnet",
  "_pkgdown": "https://marsicofl.github.io/fbnet/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fbnet.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/marsicofl/fbnet",
  "_realowner": "marsicofl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-08-23"
    },
    {
      "version": "1.0.1",
      "date": "2022-10-27"
    },
    {
      "version": "1.0.2",
      "date": "2023-02-27"
    },
    {
      "version": "1.0.3",
      "date": "2023-07-01"
    },
    {
      "version": "1.0.4",
      "date": "2025-02-04"
    }
  ],
  "_exports": [
    "buildBN",
    "buildCPTs",
    "convertPedformat",
    "evidencePrunning",
    "factorHeteroFounders",
    "FamiliasLocus",
    "FamiliasPedigree",
    "from_pedtools",
    "getConditional",
    "getGenotypeTables",
    "getLocusCPT",
    "getMAP",
    "getQSetRMP",
    "getValuesOut",
    "imposeEvidence",
    "initBN",
    "initBN.fromPed",
    "initBN.fromVars",
    "minOrdering",
    "preparePed",
    "prodFactor",
    "pruneNodes",
    "removeEvidenceFromPed",
    "reportLR",
    "reportPQ",
    "reverseSplit",
    "setOrdering",
    "stateRemoval",
    "stateRemoval2",
    "stateRemovalSubnucs",
    "sumFactor",
    "velim.bn"
  ],
  "_datasets": [
    {
      "name": "Argentina_STRs",
      "title": "STRs allelic frequencies from Argentina.",
      "object": "Argentina_STRs",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "bnet",
      "title": "Initialized bayesian network.",
      "object": "bnet",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "pbn",
      "title": "Prepared pedigree for bayesian network trimming.",
      "object": "pbn",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "toybase",
      "title": "Toy allele frequency database.",
      "object": "toybase",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "toyped",
      "title": "STRs allelic frequencies from specified country.",
      "object": "toyped",
      "class": [
        "linkdat"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "Argentina_STRs",
      "title": "STRs allelic frequencies from Argentina.",
      "topics": [
        "Argentina_STRs"
      ]
    },
    {
      "page": "bnet",
      "title": "Initialized bayesian network.",
      "topics": [
        "bnet"
      ]
    },
    {
      "page": "buildBN",
      "title": "buildBN: a function for building the bayesian network.",
      "topics": [
        "buildBN"
      ]
    },
    {
      "page": "buildCPTs",
      "title": "buildCPTs: a function for building conditional probability tables based on pedigree bayesian network.",
      "topics": [
        "buildCPTs"
      ]
    },
    {
      "page": "convertPedformat",
      "title": "convertPedformat: a function for converting a pedtools ped onject to a famlink ped object.",
      "topics": [
        "convertPedformat"
      ]
    },
    {
      "page": "evidencePrunning",
      "title": "evidencePrunning: a fuction for pruning instantiated variables.",
      "topics": [
        "evidencePrunning"
      ]
    },
    {
      "page": "factorHeteroFounders",
      "title": "factorHeteroFounders: a function for multiplying probabilities in case of heterocigote founders.",
      "topics": [
        "factorHeteroFounders"
      ]
    },
    {
      "page": "FamiliasLocus",
      "title": "FamiliasLocus: a function for reading Familias locus data.",
      "topics": [
        "FamiliasLocus"
      ]
    },
    {
      "page": "FamiliasPedigree",
      "title": "FamiliasPedigree: a function for constructing Familias pedigree format.",
      "topics": [
        "FamiliasPedigree"
      ]
    },
    {
      "page": "fbnet",
      "title": "fbnet: Forensic Bayesian Networks",
      "topics": [
        "fbnet-package",
        "fbnet"
      ]
    },
    {
      "page": "from_pedtools",
      "title": "Initialize a Bayesian network from a pedtools pedigree",
      "topics": [
        "from_pedtools"
      ]
    },
    {
      "page": "getConditional",
      "title": "getConditional: a function for obtaining the coditional probability tables based on a given evidence.",
      "topics": [
        "getConditional"
      ]
    },
    {
      "page": "getGenotypeTables",
      "title": "getGenotypeTables: a function for obtaining genotypetables after variable elimination and using available genetic evidence.",
      "topics": [
        "getGenotypeTables"
      ]
    },
    {
      "page": "getLocusCPT",
      "title": "getLocusCPT: a function for obtaining the coditional probability table from a specific locus.",
      "topics": [
        "getLocusCPT"
      ]
    },
    {
      "page": "getMAP",
      "title": "factorHeteroFounders: a function for multiplying probabilities in case of heterocigote founders.",
      "topics": [
        "getMAP"
      ]
    },
    {
      "page": "getQSetRMP",
      "title": "getGenotypeTables: a function for obtaining genotypetables after variable elimination and using available genetic evidence.",
      "topics": [
        "getQSetRMP"
      ]
    },
    {
      "page": "getValuesOut",
      "title": "getValuesOut: a function for getting out variables with zero probability in the bayesian network",
      "topics": [
        "getValuesOut"
      ]
    },
    {
      "page": "imposeEvidence",
      "title": "imposeEvidence: a fuction for imposing evidence in the bayesian network.",
      "topics": [
        "imposeEvidence"
      ]
    },
    {
      "page": "initBN",
      "title": "initBN: a function to initialize the bayesian network.",
      "topics": [
        "initBN"
      ]
    },
    {
      "page": "initBN.fromPed",
      "title": "initBN.fromPed: a function to initialize the bayesian network.",
      "topics": [
        "initBN.fromPed"
      ]
    },
    {
      "page": "initBN.fromVars",
      "title": "initBN.fromVars: a function to initialize the bayesian network.",
      "topics": [
        "initBN.fromVars"
      ]
    },
    {
      "page": "minOrdering",
      "title": "minOrdering: a function for getting an ordering of bayesian network variables not in Q using min fill criteria on interaction graphs.",
      "topics": [
        "minOrdering"
      ]
    },
    {
      "page": "pbn",
      "title": "Prepared pedigree for bayesian network trimming.",
      "topics": [
        "pbn"
      ]
    },
    {
      "page": "preparePed",
      "title": "preparePed: a function for simulating genetic data from untyped individuals conditioned on known genotypes.",
      "topics": [
        "preparePed"
      ]
    },
    {
      "page": "prodFactor",
      "title": "prodFactor: a function for performing product between probability tables.",
      "topics": [
        "prodFactor"
      ]
    },
    {
      "page": "pruneNodes",
      "title": "pruneNodes: a fuction for clasical pruning in bayesian networks.",
      "topics": [
        "pruneNodes"
      ]
    },
    {
      "page": "removeEvidenceFromPed",
      "title": "removeEvidenceFromPed: a function for removing evidence from specific individuals in a ped object.",
      "topics": [
        "removeEvidenceFromPed"
      ]
    },
    {
      "page": "reportLR",
      "title": "reportLR: a function for calculating the LRs of specified genotypes in a pedigree.",
      "topics": [
        "reportLR"
      ]
    },
    {
      "page": "reportPQ",
      "title": "reportPQ: a function for calculating the probability of specified genotypes in a pedigree.",
      "topics": [
        "reportPQ"
      ]
    },
    {
      "page": "reverseSplit",
      "title": "reverseSpit: a function for formatting.",
      "topics": [
        "reverseSplit"
      ]
    },
    {
      "page": "setOrdering",
      "title": "setOrdering: a function for selecting the ordering method in the elimination process.",
      "topics": [
        "setOrdering"
      ]
    },
    {
      "page": "stateRemoval",
      "title": "stateRemoval: a function for processing the bayesian network.",
      "topics": [
        "stateRemoval"
      ]
    },
    {
      "page": "stateRemoval2",
      "title": "stateRemoval2: a function for processing the bayesian network. It implements another approach from the described in stateRemoval function.",
      "topics": [
        "stateRemoval2"
      ]
    },
    {
      "page": "stateRemovalSubnucs",
      "title": "stateRemovalSubnucs: a fuctiong for variable state pruning.",
      "topics": [
        "stateRemovalSubnucs"
      ]
    },
    {
      "page": "sumFactor",
      "title": "prodFactor: a function for performing sum between probability tables.",
      "topics": [
        "sumFactor"
      ]
    },
    {
      "page": "toybase",
      "title": "Toy allele frequency database.",
      "topics": [
        "toybase"
      ]
    },
    {
      "page": "toyped",
      "title": "STRs allelic frequencies from specified country.",
      "topics": [
        "toyped"
      ]
    },
    {
      "page": "velim.bn",
      "title": "velim.bn: a function for variable elimination in a bayesian network.",
      "topics": [
        "velim.bn"
      ]
    }
  ],
  "_pkglogo": "https://github.com/marsicofl/fbnet/raw/HEAD/logo.png",
  "_readme": "https://github.com/marsicofl/fbnet/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "future",
    "future.apply",
    "globals",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "Matrix",
    "numDeriv",
    "parallelly",
    "pkgconfig",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "Rsolnp",
    "truncnorm",
    "vctrs"
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "fbnet",
  "_universes": [
    "marsicofl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-23T11:16:02.000Z",
      "distro": "resolute",
      "commit": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
      "fileid": "https://r2.ropensci.org/3add36fa2fd66c25c77b8b1a7f7b9563f8324812b3980d8b2b7e5ce8eb629ddf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-23T11:16:01.000Z",
      "distro": "resolute",
      "commit": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
      "fileid": "https://r2.ropensci.org/9eb37d49805f5155997c0d7835a622db9789d87ee7d8f21a29d02b8ac5ffe67a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-23T11:15:35.000Z",
      "commit": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
      "fileid": "https://r2.ropensci.org/fcb82ff20f699c8296aed8798f0aafa6d68745dc5261cbf22db432ec72de388a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-23T11:15:29.000Z",
      "commit": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
      "fileid": "https://r2.ropensci.org/d4bb146ece8709768dece0ed1092c2e561a7027dcc9900cce6098e1643ccf396",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-10-23T11:15:57.000Z",
      "commit": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
      "fileid": "https://r2.ropensci.org/0f1a9ed1f35a8fe75969d8dd69da409fbf1b554a78d5c145e8774b27e3a72308",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-23T11:15:01.000Z",
      "commit": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
      "fileid": "https://r2.ropensci.org/1a26864290625a419081deda1c233b3c04cb693c170547e332790fe863a3ebbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-23T11:15:10.000Z",
      "commit": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
      "fileid": "https://r2.ropensci.org/2c87ba858f022c2e4b6df4706607aee946ed46333b8a4dc1be8e43bb6ac1906f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-23T11:14:58.000Z",
      "commit": "12cfc8abe76a24330007913b66cd1b3b5c2c6117",
      "fileid": "https://r2.ropensci.org/530dc66c1d303053247875fd4fb7f4e0562f8c01f4c36a7335714452c903df6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marsicofl/actions/runs/39944099205"
    }
  ]
}