get_cluster_of_int finds the clusters that the features of interest belong.

get_cluster_of_int(all_clusters, hits_filt)

Arguments

all_clusters

A list of clusters. Generated by STRINGdb's method get_clusters.

hits_filt

A data frame. A filtered data frame of features of interest of the mapped data frame generated by STRINGdb's method map.

Value

Return a data frame with the information of which cluster the features are found and the number of features in those clusters.

Examples

if (FALSE) { # get all clusters from STRING network using get_clusters method of STRINGdb all_clusters <- string_db$get_clusters(hits) get_cluster_of_int(all_clusters, hits_filt) }