plot_responses | R Documentation |
Plot the detected transcriptional responses for a given subnetwork. plot_mode = 'network', xaxis = TRUE, yaxis = TRUE, plot_type = 'twopi', mar = c(5, 4, 4, 2), horiz = TRUE, datamatrix = NULL, scale = FALSE, ...)
plot_responses(
x,
subnet.id,
nc = 3,
plot_names = TRUE,
plot_mode = "network",
xaxis = TRUE,
yaxis = TRUE,
plot_type = "twopi",
mar = c(5, 4, 4, 2),
horiz = TRUE,
datamatrix = NULL,
scale = FALSE,
...
)
x |
Result from NetResponse (detect.responses function). |
subnet.id |
Subnet id. |
nc |
Number of columns for an array of images. |
plot_names |
Plot node names (TRUE) or indices (FALSE). |
plot_mode |
network: plot responses as a subnetwork graph; matrix, heatmap: plot subnetwork expression matrix. For both, expression of each gene is shown relative to the mean expression level of the gene; boxplot_data: feature-wise boxplots for hard sample-to-response assignments; response.barplot: estimated response centroids as barplot including 95 confidence intervals for the means; pca: PCA projection with estimated centroids and 95 two-dimensional case the original coordinates are used. |
xaxis, yaxis |
Logical. Plot row/column names. |
plot_type |
Network plot mode. For instance, 'neato' or 'twopi'. |
mar |
Figure margins. |
horiz |
Logical. Horizontal barplot_ |
datamatrix |
datamatrix |
scale |
scale the phylotypes to unit length (only implemented for plot_mode = 'matrix' |
... |
Further arguments for plot function. |
Used for its side-effects.
Leo Lahti leo.lahti@iki.fi
See citation('netresponse')
plot_scale
#
#res <- detect.responses(D, netw)
#vis <- plot_responses(res, subnet.id)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.