get_cluster_of_int: Get subnetwork of features of interest

Description Usage Arguments Value Examples

View source: R/utils.R

Description

get_cluster_of_int finds the clusters that the features of interest belong.

Usage

1
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

1
2
3
4
5
6
7
## Not run: 
# 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)

## End(Not run)

chiasinL/STRINGutils documentation built on Dec. 19, 2021, 3:56 p.m.