get_net_app: get_net_app

View source: R/get_net_app.R

get_net_appR Documentation

get_net_app

Description

Function to get the network from specific proteins. This function is totally based on the function plot_network from the STRINGdb package, but it now return the plot (using ggdraw) or return an interactive image (using plotly).

Usage

get_net_app(
  string_ids,
  payload_id = NULL,
  required_score = NULL,
  inter = FALSE,
  add_link = TRUE,
  network_flavor = "evidence",
  add_summary = TRUE
)

Arguments

string_ids

The STRING ids of the proteins you want to plot the network

payload_id

An identifier of payload data on the STRING server (see method post_payload for additional information)

required_score

A threshold on the score that overrides the default score_threshold, that we use only for the picture

inter

A logical to tell if you want to return an interactive image with plotly

add_link

Whether you want to generate and add a short link to the relative page in STRING. As default this option is active but we suggest to deactivate it in case one is generating many images (e.g. in a loop). Deactivating this option avoids to generate and store a lot of short-urls on our server.

network_flavor

Specify the flavor of the network ("evidence", "confidence" or "actions". default "evidence").

add_summary

Parameter to specify whether you want to add a summary text to the picture. This summary includes a p-value and the number of proteins/interactions.

Value

The network

See Also

STRINGdb


mgerault/mineCETSAapp documentation built on April 17, 2025, 7:24 p.m.