hybridogram: Function that Creates a Heat Map from Hybridization Data

Description Arguments Value References Examples

View source: R/hybridogram.R

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

1
2
3
4
5
6
7
8
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)

hybridogram documentation built on May 24, 2021, 1:07 a.m.