Learn R Programming

stringgaussnet (version 1.1)

FilterEdges.SIMoNeNet: Filter edges in SIMoNeNet

Description

Function to filter on theta score or spearman's statistics in a SIMoNeNet object.

Usage

## S3 method for class 'SIMoNeNet':
FilterEdges(x, Threshold, Superior = T, AttributeFilter = "Rho",
	Absolute = T, ...)

Arguments

x
Object of class SIMoNeNet
Threshold
Threshold used to filter on edge attribute
Superior
Boolean variable indicating whether values must be superior or inferior to the threshold
AttributeFilter
Character indicating on which edge attribute to filter. Can be "Rho", "P.Value" or "Theta".
Absolute
Boolean indicating whether the attribute must be transformed into absolute values before filtering
...
Additional parameters. Not used here

Value

  • Object of class SIMoNeNet with filtered edges

See Also

SIMoNeNet, SIMoNeNet.default, getSIMoNeNet, print.SIMoNeNet, summary.SIMoNeNet, export.SIMoNeNet, pickSIMoNeParam

Examples

Run this code
# data(SpADataExpression)
# data(SpADEGenes)
# SpAData<-DEGeneExpr(t(SpADataExpression),SpADEGenes)

# NodesForSIMoNe<-rownames(SpADEGenes)[1:17]
# GaussianSpAData<-DEGeneExpr(t(SpADataExpression[NodesForSIMoNe,]),SpADEGenes[NodesForSIMoNe,])

# pickSIMoNeParam(GaussianSpAData)

# GlobalSIMoNeNet<-getSIMoNeNet(GaussianSpAData)
# GlobalSIMoNeNet<-FilterEdges(GlobalSIMoNeNet,0.4)
# print(GlobalSIMoNeNet,5)
# summary(GlobalSIMoNeNet)
# plot(GlobalSIMoNeNet)

# export(GlobalSIMoNeNet,"GlobalSIMoNeNet",T)

Run the code above in your browser using DataLab