plotData3D: Plot dqta in 3 dimensions

Description Usage Arguments

Description

Plot dqta in 3 dimensions

Usage

1
2
3
4
5
6
plotData3D(Data, PrintGraph, GroupsLab, ScaleFunction = sqrt,
  NodeSizeMult = 1, Col = NULL, CirCol = "black", LineCol = "black",
  IdCol = "blue", Main = "", Cex.Main = 0.7, PlotProjections = FALSE,
  ProjectionLines = NULL, TaxonList = NULL, OnEdgeProjections = NULL,
  Xlab = "PC1", Ylab = "PC2", Zlab = "PC3", DirectionMat = NULL,
  Thr = 0.05, Plot.ly = FALSE)

Arguments

Data

The Data to be plotted. Each column represents a dimension and each row represents a point

PrintGraph

A princial graph structure obtained by computeElasticPrincipalGraph

GroupsLab

A vector of labels to indicate which group each point belongs to

ScaleFunction

A scaling function to decide the size of the spheres that represent the nodes of the principal graph

NodeSizeMult

A scaling vector to decide the size of the spheres that represent the nodes of the principal graph

Col

A vector of colors for the points. If NULL the cplors will be computed automatically

CirCol

The color of the Spheres (it will be partially transparent)

LineCol

The colors of the edtges of the graph

IdCol

The color of the labels of the nodes of the graph

Main

The title of the plot

Cex.Main

The multiplier associated with the title of the plot

PlotProjections

Should the line projecting points on the nodes to be plotted?

ProjectionLines

A vector of colors for the projection lines (used only if Plot.ly = FALSE)

TaxonList

A list of associations between points and nodes produced by getTaxonMap

Xlab

The label of the x axis

Ylab

The label of the y axis

Zlab

The label of the z axis

DirectionMat

A directionality structure produced by CheckDirectionality

Thr

A threshold to be used for directionality reconstruction

Plot.ly

A boolen indicating if Plot.ly (TRUE) or rgl (FALSE) should be used


Albluca/rpgraph documentation built on May 5, 2019, 1:35 p.m.