Description Usage Arguments Value See Also Examples
View source: R/FilterEdges.FactorNetworks.R
Function to filter on edge attribute in an FactorNetworks object.
1 2 3 | ## S3 method for class 'FactorNetworks'
FilterEdges(x, Threshold, Superior = T, AttributeFilter = "Rho",
Absolute = T, ...)
|
x |
An object of class FactorNetworks |
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 |
Absolute |
Boolean indicating whether the attribute must transformed into absolute values before filtering |
... |
Additional parameters. Not used here |
Object of class FactorNetworks with filtered edges
FactorNetworks
, FactorNetworks.default
, print.FactorNetworks
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # data(SpADataExpression)
# data(SpADEGenes)
# data(SpASamples)
# SpAData<-DEGeneExpr(t(SpADataExpression),SpADEGenes)
# StatusFactor<-paste(SpASamples$status,SpASamples$b27,sep=".")
# names(StatusFactor)=SpASamples$chipnum
# NodesForSIMoNe<-rownames(SpADEGenes)[1:17]
# GaussianSpAData<-DEGeneExpr(t(SpADataExpression[NodesForSIMoNe,]),SpADEGenes[NodesForSIMoNe,])
# GlobalSIMoNeNetNF<-getSIMoNeNet(GaussianSpAData)
# GlobalSIMoNeNet<-FilterEdges(GlobalSIMoNeNetNF,0.4)
# StatusFactorSIMoNeNet<-FactorNetworks(GaussianSpAData,StatusFactor,"SIMoNe")
# StatusFactorSIMoNeNet<-FilterEdges(StatusFactorSIMoNeNet,0.4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.