buildDotPlotDataFrame: Build up dataframe for plotting dot plot with ggplot2

Description Usage Arguments Value

View source: R/netplot.R

Description

Internal function

Usage

1
buildDotPlotDataFrame(net.clustering, cluster.names, node.names)

Arguments

net.clustering

Clustering

cluster.names

Cluster names

node.names

Node names

Value

A data frame for plotting the dotPlot with ggplot2 is returned. Column P.Corr contains the partial correlations of each edge as a numeric, column Mean contains the minimum mean expression of the two proteins (e.g. if the edge is e(p1, p2), then the column contains min(mean(p1), mean(p2))), column Edge contains the name of the edge as a character string of the form "p1-p2" and column Type contains the cluster name of the cluster that the edge belongs to as a character string.


FrankD/nethet documentation built on Oct. 5, 2020, 8:22 a.m.