Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

HIest (version 2.0)

Cline.plot: Graph genomic clines fit to data

Description

A quick way to summarize and view the results of Cline.fit

Usage

Cline.plot(cfit)

Arguments

cfit
An object: the output of Cline.fit.

Details

Creates up to sixteen graphs, depending on which models are fit to the data. For each fitted model, fitted clines are graphed first. For two-parameter models, a bivariate graph of parameter estimates is plotted next (this is left blank for four-parameter models). Finally, a Q-Q plot of squared Mahalanobis distances vs. CHi-squared quantiles is graphed. Putative outlier markers are indicated in red.

References

Fitzpatrick, B. M. 2012. Alternative forms for genomic clines. In prep

See Also

See gcline.fn for the basic fitting function. Cline.plot provides an easy way to visualize the output of Cline.fit.

Examples

Run this code
	
data(Bluestone)
BS.fit <- Cline.fit(Bluestone[,1:12],model=c("logit.logistic","Barton"))
Cline.plot(BS.fit)

Run the code above in your browser using DataLab