View source: R/Genotypic_Path_app.R
Genotypic_Path_app | R Documentation |
Genotypic_Path_app()
function opens an interactive and user-friendly Shiny application that enables users to perform genotypic path analysis.
Genotypic_Path_app()
The application is designed to perform genotypic path analysis using experimental data.
Users can upload an Excel file (.xlsx or .xls) containing observations for several genotypes and traits. After uploading the file users should click the "Analyze" button.
The output includes:
A table displaying direct and indirect effects of independent traits on the dependent trait.
Residual effect value.
The result table can be downloaded in CSV format.
Note: The analysis is based on the Randomized Block Design (RBD).
Opens a user-friendly interactive Shiny application for performing genotypic path analysis.
The uploaded Excel file should be formatted as follows:
First column: Replication
Second column: Genotypes
Subsequent columns: Trait values (e.g., DBH, PH, FW, SW, KW, OC)
Important: The last column must be the dependent trait for path analysis. For example, if OC (Oil Content) is the dependent trait , it must be in the last column.
Trait names should be concise. Example:
DBH : Diameter at Breast Height
PH : Plant Height
FW : Fruit Weight
SW : Seed Weight
KW : Kernel Weight
OC : Oil Content
Note: The uploaded file name should not contain spaces. For example, use Sample_Data.xlsx
instead of Sample Data.xlsx
.
An example Excel file is available for download using the Download Example Data
button within the application.
The example dataset includes:
170 genotypes
3 replications for each genotype
6 traits: 5 independent traits (DBH, PH, FW, SW, KW) and 1 dependent trait: OC
Singh, R. K., & Chaudhary, B. D. (1977). Biometrical Methods in Quantitative Genetic Analysis.
Dewey, D. R., & Lu, K. H. (1959). A Correlation and Path-Coefficient Analysis of Components of Crested Wheatgrass Seed Production.Agronomy Journal, 51(9), 515-518.
if(interactive()) Genotypic_Path_app()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.