plot.ord: Plot RLQ for transcriptomic data

Description Usage Arguments Value Author(s) Examples

View source: R/plot.ord.R

Description

The function plot can visualise different features of an ord object by adjusting the argument "feature". By default, a barplot of the variance explained by the axes of the RLQ is plotted (see arguments).

Usage

1
2
## S3 method for class 'ord'
plot(x, feature="variance", xaxis=1, yaxis=2, cex=1, range=2, ...)

Arguments

x

An object of class ord that shall be visualised by ordination.

feature

Defines which features of the object shall be visualised: "columns L","rows L", "columns R" and "columns Q" visualise the respective variables as oridnation, "variance" shows a barplot of the variance explained by the axes, "correlation circle R" and "correlation circle Q" visualise the projection of the original space into the ordination space.

xaxis, yaxis

Define which axes of ordination shall be shown by x- and y-axis, respectively.

cex

Defines size of covariate text.

range

The range of the axes can be extended or reduced, e.g. for the case that not all covariates are visible in the default setting.

...

More plotting parameters can be added.

Value

Plot of RLQ.

Author(s)

Lara Urban

Examples

1
2
ordBaca <- ord(Baca)
plot(ordBaca)

covRNA documentation built on Nov. 8, 2020, 5:59 p.m.