nh_plotR: NewHybrids Plot

View source: R/nh_plotR.R

nh_plotRR Documentation

NewHybrids Plot

Description

nh_plotR plots the cumulative probabilities of assignment for each individual

Usage

nh_plotR(NHResults, ColourVector = c("red", "blue", "grey", "green", "black",
  "yellow"), ReversePure = 1)

Arguments

NHResults

A file path to the NewHybrids (PofZ file) result to be plotted

ColourVector

A vector of six colours to be plotted as Pure1, Pure2, F1, F2, BC1, and BC2 respectively

ReversePure

A logical which can be used to reverse the Pure1/BC1, Pure2/BC2 colours if NEWHYBRIDS switches which population is called Population1 and Population2 between analyses of the same data (allows you to make your plots the same colours). Options are "1" or "2"


bwringe/hybriddetective documentation built on March 22, 2023, 6:52 a.m.