R/lap.volcanoplot.R

Defines functions lap.volcanoplot

Documented in lap.volcanoplot

lap.volcanoplot <- function(res, highlight=0, ...)
{
	M <- res$M
	odds <- res$lap.lods
	plot(M, odds, xlab='average log fold change', ylab='log posterior odds', pch=16, cex=0.8, ...)
	if(highlight > 0)
	{
		table <- laptopTable(res, number=highlight)
		points(table$M, table$log.odds, pch=3, col='red')
	}
	invisible()
}

Try the lapmix package in your browser

Any scripts or data that you put into this service are public.

lapmix documentation built on Nov. 8, 2020, 10:59 p.m.