Learn R Programming

⚠️There's a newer version (1.0.4) of this package.Take me there.

fbnet

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)

If you want to install a previous fbnet version, such as fbnet v1.0.1, that allows building and analyzing pedigrees please use:

install.packages("devtools")
library(devtools)
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.3

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Franco Marsico

Last Published

July 1st, 2023

Functions in fbnet (1.0.3)

reportPQ

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

initBN: a function to initialize the bayesian network.
preparePed

preparePed: a function for simulating genetic data from untyped individuals conditioned on known genotypes.
prodFactor

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

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

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

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
stateRemoval2

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

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

reverseSpit: a function for formatting.
toybase

Toy allele frequency database.
stateRemoval

stateRemoval: a function for processing the bayesian network.
imposeEvidence

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

removeEvidenceFromPed: a function for removing evidence from specific individuals in a ped object.
velim.bn

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

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

stateRemovalSubnucs: a fuctiong for variable state pruning.
toyped

STRs allelic frequencies from specified country.
sumFactor

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

buildBN: a function for building the bayesian network.
Argentina_STRs

STRs allelic frequencies from Argentina.
evidencePrunning

evidencePrunning: a fuction for pruning instantiated variables.
buildCPTs

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

fbnet: Forensic Bayesian Networks
FamiliasPedigree

FamiliasPedigree: a function for constructing Familias pedigree format.
factorHeteroFounders

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

FamiliasLocus: a function for reading Familias locus data.
getConditional

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

convertPedformat: a function for converting a pedtools ped onject to a famlink ped object.
getMAP

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

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

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

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

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