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, labelsize=1.25, boxes=TRUE, ...)

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.

labelsize

Defines size of label of covariates.

boxes

Defines if boxes shall be drawn around labels of covariates.

...

More plotting parameters can be added.

Value

Plot of RLQ.

Author(s)

Lara Urban

Examples

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

LaraUrban/covRNA_test documentation built on May 9, 2017, 5:10 a.m.