GOstats (version 2.38.1)

notConn: Find genes that are not connected to the others.

Description

A function that takes as input a distance matrix and finds those entries that are not connected to any others (ie. those with distance Inf.

Usage

notConn(dists)

Arguments

dists
A distance matrix.

Value

A vector of the names of the items that are not connected.

Details

It is a very naive implementation. It presumes that not connected entries are not connected to any other entries, and this might not be true. Using the connComp function from the graph package or the RBGL package might be a better approach.

See Also

connComp

Examples

Run this code
 data(Ndists)
 notConn(Ndists)

Run the code above in your browser using DataLab