plot2DEdgeList: Plots a 2D scatterplot for a given list of edges.

Description Usage Arguments

View source: R/base.R

Description

Plots a 2D scatterplot for a given list of edges.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
plot2DEdgeList(
  edge_indexes,
  osa,
  net,
  ematrix,
  field = NA,
  samples = NA,
  highlight = TRUE,
  fig_title = NULL,
  show.legend = TRUE,
  legend.title = field
)

Arguments

edge_indexes

The index of the edge in the network data frame.

osa

The sample annotation matrix. One column must contain the header 'Sample' and the remaining colums correspond to an annotation type. The rows of the anntation columns should contain the annotations.

net

A network data frame containing the KINC-produced network. The loadNetwork function imports a dataframe in the correct format for this function.

ematrix

The expression matrix.

field

The field in the sample annotation matrix by which to split the points into separate layers.

samples

An array of sample names for which the scatterplot should be included in the plot. If no value is provided then all samples with values are included.

highlight

If set to TRUE, makes the samples belonging to the cluster that underlies the edge larger in the plot. Default = TRUE.

fig_title

A title to give the plot. Default = NULL


SystemsGenetics/KINC.R documentation built on Nov. 10, 2021, 9:22 p.m.