hybridogram {hybridogram}R Documentation

Function that Creates a Heat Map from Hybridization Data

Description

R package which takes a list of hybridization results along with a code and creates a heat map.

Version 0.3.2 Author: Dr. Matthew Cserhati Email: csmatyi@protonmail.com May 21, 2021

Arguments

hybrid_data

a data frame with three columns: species1, species2, code

codes

a data frame with two columns: code, description

Value

nil

References

Wood, T. C., and Murray, M. J. (2003) Understanding the Pattern of Life. Nashville, TN: Broadman & Holman.

Examples

V1 <- c("Phoca largha","Phoca largha","Phoca caspica")
V2 <- c("Phoca vitulina","Phoca caspica","Pusa hispida")
V3 <- c(2,3,3)
hybrid_data <- data.frame(V1,V2,V3)
C1 <- c(1,2,3)
C2 <- c("No hybrid","Hybrid with same 3rd species","Documented hybrid")
codes <- data.frame(C1,C2)
hybridogram(hybrid_data, codes)


[Package hybridogram version 0.3.2 Index]