IDunknown: Identifies unknown sequences by comparison against a local...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/IDunknown.R

Description

Identification of unknown sequences by comparison against a local library of sequences of known identity.

Usage

1
IDunknown(unknown, known)

Arguments

unknown

A ‘DNAbin’ object containing unknown sequences.

known

A ‘DNAbin’ object containing the library of known sequences.

Details

This function is in VERY early stages of development. So early in fact, that it doesn't do anything at this stage.

This function requires that the unknown sequences are correctly aligned with respect to the local library. For a function that can be used without alignment, see .......... (function not made yet).

Value

A vector with the species index of the identification.

Author(s)

Samuel Brown <s_d_j_brown@hotmail.com>

See Also

For more information on some of the different matching criteria see: nearNeighbour, monophyly

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
data(dolomedes)

#Simulate a dataset of unknown specimens
set.seed(12354)
unknown <- dolomedes[sample(1:33, 5), ]
attr(unknown, "dimnames")[[1]] <- paste("unkow", 1:5, sep="")


IDunknown(unknown, dolomedes)


## End(Not run)

spiderDev documentation built on May 2, 2019, 5:23 p.m.