Graph genomic clines fit to data

Share:

Description

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

Usage

1
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.

Author(s)

Benjamin M. Fitzpatrick

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

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