Learn R Programming

KinMixLite (version 2.2.0)

delete.DQnodes: Delete D and Q dummy nodes from all Bayes nets in mixture

Description

Delete D and Q dummy nodes and associated edges from all Bayes nets in mixture, to save space; these nodes would only be needed for specific follow-up analyses

Usage

delete.DQnodes(mixture,which="DQ")

Value

No value is returned, the function is called for its side effect

Arguments

mixture

A compiled DNAmixture object

which

character string

Author

Peter Green (P.J.Green@bristol.ac.uk)

Details

The function removes the D and/or Q nodes from the DNAmixture object, depending on whether which includes "D", "Q" or both

Examples

Run this code
data(test2data)
data(NGMDyes)

mixD<-DNAmixture(list(epg),k=2,C=list(0.001),database=db,dyes=list(NGMDyes),
	triangulate=FALSE,compile=FALSE)
delete.DQnodes(mixD)
replace.tables.for.UAF(mixD,40)
size(mixD)

Run the code above in your browser using DataLab