Learn R Programming

fbnet

IMPORTANT NOTE

This package is only maintained for legacy purposes. New releases of the fbnet package and under-development version are available on https://github.com/chernolabs/fbnet-cran.

fbnet is an open source software package written in R statistical languaje. It implements the complete GENis functionality, a recently published open-source multi-tier information system developed to run forensic DNA databases to perform kinship analysis based on DNA profiles. GENis is freely available on github: https://github.com/fundacion-sadosky/genis

It relies on a Bayesian Networks framework and it is particularly well suited to efficiently perform large-size queries against databases of missing individuals. It could interact with the main functionallities of other packages for pedigree analysis. In particular, fbnet can interpret the pedigree formats from 'Familias' software (1). In addition 'pedtools', a software for creating and manipulating pedigrees and markers, is supported (2). fbnet allows computing LRs and obtaining genotype probability distributions for a query individual, based on the pedigree data. For installing fbnet please use the following command:

install.packages("fbnet")
library(fbnet)

fbnet and GENis projects are supported by Fundación Sadosky https://www.fundacionsadosky.org.ar/ and Ministerio de Ciencia, Tecnología e Innovación of Argentina https://www.argentina.gob.ar/ciencia

1- Vigeland, M. D. (2021). Pedigree analysis in R. Academic Press. 2- Egeland, T., Kling, D., & Mostad, P. (2015). Relationship inference with familias and R: statistical methods in forensic genetics. Academic Press.

Copy Link

Version

Install

install.packages('fbnet')

Monthly Downloads

183

Version

1.0.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Franco Marsico

Last Published

February 4th, 2025

Functions in fbnet (1.0.4)

getGenotypeTables

getGenotypeTables: a function for obtaining genotypetables after variable elimination and using available genetic evidence.
evidencePrunning

evidencePrunning: a fuction for pruning instantiated variables.
pbn

Prepared pedigree for bayesian network trimming.
sumFactor

prodFactor: a function for performing sum between probability tables.
stateRemovalSubnucs

stateRemovalSubnucs: a fuctiong for variable state pruning.
buildCPTs

buildCPTs: a function for building conditional probability tables based on pedigree bayesian network.
initBN

initBN: a function to initialize the bayesian network.
getMAP

factorHeteroFounders: a function for multiplying probabilities in case of heterocigote founders.
getLocusCPT

getLocusCPT: a function for obtaining the coditional probability table from a specific locus.
prodFactor

prodFactor: a function for performing product between probability tables.
pruneNodes

pruneNodes: a fuction for clasical pruning in bayesian networks.
removeEvidenceFromPed

removeEvidenceFromPed: a function for removing evidence from specific individuals in a ped object.
initBN.fromPed

initBN.fromPed: a function to initialize the bayesian network.
getQSetRMP

getGenotypeTables: a function for obtaining genotypetables after variable elimination and using available genetic evidence.
getValuesOut

getValuesOut: a function for getting out variables with zero probability in the bayesian network
factorHeteroFounders

factorHeteroFounders: a function for multiplying probabilities in case of heterocigote founders.
imposeEvidence

imposeEvidence: a fuction for imposing evidence in the bayesian network.
initBN.fromVars

initBN.fromVars: a function to initialize the bayesian network.
minOrdering

minOrdering: a function for getting an ordering of bayesian network variables not in Q using min fill criteria on interaction graphs.
reverseSplit

reverseSpit: a function for formatting.
toybase

Toy allele frequency database.
setOrdering

setOrdering: a function for selecting the ordering method in the elimination process.
toyped

STRs allelic frequencies from specified country.
stateRemoval

stateRemoval: a function for processing the bayesian network.
reportLR

reportLR: a function for calculating the LRs of specified genotypes in a pedigree.
stateRemoval2

stateRemoval2: a function for processing the bayesian network. It implements another approach from the described in stateRemoval function.
reportPQ

reportPQ: a function for calculating the probability of specified genotypes in a pedigree.
velim.bn

velim.bn: a function for variable elimination in a bayesian network.
getConditional

getConditional: a function for obtaining the coditional probability tables based on a given evidence.
Argentina_STRs

STRs allelic frequencies from Argentina.
fbnet

fbnet: Forensic Bayesian Networks
bnet

Initialized bayesian network.
buildBN

buildBN: a function for building the bayesian network.