Group2Cluster {gcExplorer} | R Documentation |
Find the cluster memberships for a group and create the vector of all cluster memberships where the grouped elements are assigned to.
Group2Cluster(object, gonr, source.group, source.id, id) Random2Cluster(object, perc) DefinedCluster(object, filt=0, numEdges=6, perc=1, noise=0)
object |
An object of class kccasimple |
gonr |
Unique identifier from source.group giving the group of
genes to be extracted |
source.group |
Vector of functional groups where source.id are assigned to |
source.id |
Corresponding vector of identifiers to source.group |
id |
Vector of identifiers of the same length as rows in the
clustered data of the same type as given in source.id |
perc |
For artificial assignment: the percentage of elements in a cluster that should be assigned to the group |
filt |
Edges above this threshold are taken into account |
numEdges |
Number of edges chosen where clusters are assigned similar amount of affected elements |
noise |
The percentage of noise that should be added (i.e., further assigned elements in different clusters) |
A vector of cluster memberships.
Theresa Scharl
edge.test
data("hsod") data("gobp") set.seed(1111) cl1 <- qtclust(hsod, radius = 2, save.data = TRUE) g1 <- Group2Cluster(cl1, gonr = "GO:0009061", source.group = gobp[,3], source.id=gobp[,1], id = bn_hsod) table(g1)