as.dbcompare: Convert output of ibs.pairwise.db for plotting using DNAtools...

Description Usage Arguments Details Value See Also Examples

Description

Convert output of ibs.pairwise.db for plotting using DNAtools package

Usage

1

Arguments

m

Matrix with the number of full/partial matches (output of ibs.pairwise.db)

Details

Converts the matrix to a dbcompare object for use with the plot function of the DNAtools package.

Value

Object of class dbcompare (compatible with DNAtools package)

See Also

ibs.pairwise.db

Examples

1
2
3
4
5
6
7
8
data(freqsNLsgmplus)
db <- sample.profiles(N=10^3,freqs=freqsNLsgmplus)
M <- as.dbcompare(ibs.pairwise.db(db))
## Not run: 
require(DNAtools)
plot(M)

## End(Not run)

DNAprofiles documentation built on Jan. 15, 2017, 9:27 p.m.