R: Forensic Bayesian Networks

# Forensic Bayesian Networks

## Documentation for package ‘fbnet’ version 1.0.4

- DESCRIPTION file
- Package README

## Help Pages

fbnet-package | fbnet: Forensic Bayesian Networks
Argentina_STRs | STRs allelic frequencies from Argentina.
bnet | Initialized bayesian network.
buildBN | buildBN: a function for building the bayesian network.
buildCPTs | buildCPTs: a function for building conditional probability tables based on pedigree bayesian network.
evidencePrunning | evidencePrunning: a fuction for pruning instantiated variables.
factorHeteroFounders | factorHeteroFounders: a function for multiplying probabilities in case of heterocigote founders.
fbnet | fbnet: Forensic Bayesian Networks
getConditional | getConditional: a function for obtaining the coditional probability tables based on a given evidence.
getGenotypeTables | getGenotypeTables: a function for obtaining genotypetables after variable elimination and using available genetic evidence.
getLocusCPT | getLocusCPT: a function for obtaining the coditional probability table from a specific locus.
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.
getValuesOut | getValuesOut: a function for getting out variables with zero probability in the bayesian network
imposeEvidence | imposeEvidence: a fuction for imposing evidence in the bayesian network.
initBN | initBN: a function to initialize the bayesian network.
initBN.fromPed | initBN.fromPed: a function to initialize 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.
pbn | Prepared pedigree for bayesian network trimming.
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.
reportLR | reportLR: a function for calculating the LRs of specified genotypes in a pedigree.
reportPQ | reportPQ: a function for calculating the probability of specified genotypes in a pedigree.
reverseSplit | reverseSpit: a function for formatting.
setOrdering | setOrdering: a function for selecting the ordering method in the elimination process.
stateRemoval | stateRemoval: a function for processing the bayesian network.
stateRemoval2 | stateRemoval2: a function for processing the bayesian network. It implements another approach from the described in stateRemoval function.
stateRemovalSubnucs | stateRemovalSubnucs: a fuctiong for variable state pruning.
sumFactor | prodFactor: a function for performing sum between probability tables.
toybase | Toy allele frequency database.
toyped | STRs allelic frequencies from specified country.
velim.bn | velim.bn: a function for variable elimination in a bayesian network.