getSubNetwork-methods: Get a sub-network.

Description Usage Arguments Value See Also Examples

Description

Returns the sub-network formed by the given genes.

Usage

1
getSubNetwork(network, genes, showWarnings=TRUE)

Arguments

network

GenesNetwork or GenesNetwork list containing the whole network.

genes

GenesRanking or character vector. Genes in the new network.

showWarnings

Logical. If true, shows warnings if the given genes are not in the network.

Value

A GenesNetwork or list of networks between the given genes.

See Also

Main package function and classifier training: geNetClassifier
This method's class (GenesNetwork) help page.

Examples

1
2
3
4
data(leukemiasClassifier)
clGenesSubNet <- getSubNetwork(leukemiasClassifier@genesNetwork, 
leukemiasClassifier@classificationGenes)
getSubNetwork(leukemiasClassifier@genesNetwork, getTopRanking(leukemiasClassifier@genesRanking, numGenesClass=30))

geNetClassifier documentation built on Nov. 8, 2020, 4:53 p.m.