run_OrdPlot: Plot Ordination result with scatterplot

Description Usage Arguments Details Value Author(s) Examples

Description

Show the result of Ordination using scatterplot.

Usage

1
run_Plot(Score=score, Axis_name=explains, Pvalue=label)

Arguments

Score,

Data.frame; (Required) Result of Ordination.

Axis_name,

Character; the labels of two axis.

Pvalue,

Character; (Required) PERMANOVA result.

Details

12/2/2021 Guangzhou China

Value

a scatterplot

Author(s)

Hua Zou

Examples

1
2
3
4
5
6
7
data(ExprSetRawRB)

PCA_res <- run_PCA(dataset=ExprSetRawRB, Normalization=TRUE, Group_info="Group")
run_OrdPlot(Score=PCA_res$PCA, Axis_name=PCA_res$epn, Pvalue=PCA_res$PER)

res_tsne <- run_tsne(dataset=ExprSetRawRB, Perplexity=20, Group_info="Group")
run_OrdPlot(Score=res_tsne$tsne, Axis_name=res_tsne$epn, Pvalue=res_tsne$PER)

HuaZou/MyRtools documentation built on Jan. 6, 2022, 8:56 a.m.