Skip to content

A shiny app to perform RDA with variable selection and create awesome figures and tables.

Notifications You must be signed in to change notification settings

womeimingzi11/rdaWithStep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdaWithStep

A shiny app to perform RDA with variable selection and create awesome figures and tables.

rdaWithStep is hosted at Shinyapps.io.

Wha is RDA with step selection?

Briefly, the Monte Carlo permutation tests followed by backward, forward or bothward selection were used to determine which variable was contained in each variable set.

As vegan::ordistep described:

The basic functions for model choice in constrained ordination are add1.cca and drop1.cca. With these functions, ordination models can be chosen with standard R function step which bases the term choice on AIC. AIC-like statistics for ordination are provided by functions deviance.cca and extractAIC.cca (with similar functions for rda). Actually, constrained ordination methods do not have AIC, and therefore the step may not be trusted. This function provides an alternative using permutation P-values.

Function ordistep defines the model, scope of models considered, and direction of the procedure similarly as step. The function alternates with drop and add steps and stops when the model was not changed during one step. The - and + signs in the summary table indicate which stage is performed. It is often sensible to have Pout > Pin in stepwise models to avoid cyclic adds and drops of single terms

Focus on species or sample site?

In general, there are two main scopes of RDA:

  1. determine the relationships of species and environment variables only;
  2. except determine the relationships of species and environment variables, the simple sites were also considered.

In this case, adding sample sites in the figure is not in my plan yet.

However, you are welcomed to commit any feature about this and even any other features in my repo on GitHub.

You are also welcomed to visit my Blog (in Chinese) or contact me by mail.

How to use it?

1. EZ way

Click here. rdaWithStep is hosted at Shinyapps.io.

2. Hardcore way

To make sure that you can control everything, you are welcomed to fork my code to your own repo (and leave me a star please).

Then what you can do is to oepn rdaWithStep.Rproj file in RStudio, following open app.R file, install all the packages which will be loaded.

At the least, click run.app at the right top of the code editor panel, rdaWithStep will run locally.

Features

  • Reveal Input Matrice
  • Perform RDA
    • RDA without Selection
    • RDA with Selection
  • Variable Significance
    • Monte Carlo permutation test
    • Significance Table
  • RDA plot

Known Issues

You tell me.

Privacy Statements

We gurantee that all your data won't be kept once you leave the Shiny app. There is no code and won't have any code to record your cilentID, uploaded file or any other data.

About

A shiny app to perform RDA with variable selection and create awesome figures and tables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages