R/CallRegions.R

Defines functions CallRegions

Documented in CallRegions

CallRegions<-function(position,jointPP,cutoff=0.5,maxGap=500)
{

	obj<-.C("callRegions",
	as.integer(position),
	as.integer(length(position)),
	as.double(maxGap),
	as.double(jointPP),
	as.double(cutoff),
	regions=as.integer(rep(0,length(position))),
	package="BAC")

	obj$regions
}

Try the BAC package in your browser

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

BAC documentation built on Nov. 8, 2020, 5:55 p.m.