R/FilterEdges.FactorNetworks.R

Defines functions FilterEdges.FactorNetworks

Documented in FilterEdges.FactorNetworks

FilterEdges.FactorNetworks <-
function (x,Threshold,Superior=T,AttributeFilter="Rho",Absolute=T, ...)
{
	if (class(x[[1]]$Network)!="SIMoNeNet"){stop("You can only filter on SIMoNe Networks.")}
	FilteredNet<-x
	for (Level in names(FilteredNet))
	{
		FilteredNet[[Level]]$Network<-FilterEdges(FilteredNet[[Level]]$Network,Threshold,Superior,AttributeFilter,Absolute)
	}
	return(FilteredNet)
}

Try the stringgaussnet package in your browser

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

stringgaussnet documentation built on May 29, 2017, 10:50 a.m.