Learn R Programming

BarcodingR (version 1.0-3)

save.ids: Save Identifications

Description

Output identified results to an outfile in temporty directory (found by tempdir() function).

Usage

save.ids(outfile = "identified.txt", ids)

Arguments

outfile

character string to indicate outfile name.

ids

object of class "BarcodingR", which contains identified taxon information.

Value

no value returned,but an output file.

References

zhangab2008(at)mail.cnu.edu.cn

See Also

barcoding.spe.identify()

Examples

Run this code
# NOT RUN {

data(TibetanMoth) 
ref<-as.DNAbin(as.character(TibetanMoth[1:50,]))
que<-as.DNAbin(as.character(TibetanMoth[50:60,]))
bsi<-barcoding.spe.identify(ref, que, method = "fuzzyId")
bsi
save.ids(outfile="identified.txt",bsi)
# }

Run the code above in your browser using DataLab