Learn R Programming

indelmiss (version 1.0.10)

print.indelmiss: Print summary information from fit

Description

Summary command for use on an object of class "indelmiss". Depending on the model, the rates (mu: deletion; nu: insertion), missing data proportion (p), and prior probability of gene family absence at the root are printed. If branch groupings (or clades) were specified, then the rates (and corresponding standard errors) are displayed in a matrix with the columns representing the different branch groupings (ordered by the subsets of x$bg where x is an object of class "indelmiss"). The rows represent the gene deletion and insertion rate, respectively.

Usage

# S3 method for indelmiss
print(x, ...)

Value

Output summary information from the fit.

Arguments

x

An object of class "indelmiss".

...

Ignore this.

Author

Utkarsh J. Dang and G. Brian Golding

utkarshdang@cunet.carleton.ca

See Also

See also indelrates and plot.indelmiss.

Examples

Run this code
indel <- indelrates(datasource = "simulation", seed = 1, taxa = 5,
             mu = 1, nu = 3, phyl = 5000,  pmiss = c(0.2, 0.5), toi = c(1, 3), 
             zerocorrection = TRUE, 
             modelnames = c("M1", "M2", "M3", "M4"),
             optmethod = "nlminb")
print(indel)

Run the code above in your browser using DataLab