| phen_varcov | R Documentation |
Phenotypic Variance-Covariance Analysis
phen_varcov(
data,
genotypes,
replication,
columns = NULL,
main_plots = NULL,
design_type = c("RCBD", "LSD", "SPD"),
method = c("REML", "Yates", "Healy", "Regression", "Mean", "Bartlett")
)
data |
traits to be analyzed |
genotypes |
vector containing genotypes/treatments (sub-plot treatments in SPD) |
replication |
vector containing replication/blocks (RCBD) or rows (LSD) |
columns |
vector containing columns (required for Latin Square Design only) |
main_plots |
vector containing main plot treatments (required for Split Plot Design only) |
design_type |
experimental design type: "RCBD" (default), "LSD" (Latin Square), or "SPD" (Split Plot) |
method |
Method for missing value imputation: "REML" (default), "Yates", "Healy", "Regression", "Mean", or "Bartlett" |
A Phenotypic Variance-Covariance Matrix
# RCBD example
phen_varcov(data = seldata[, 3:9], genotypes = seldata$treat, replication = seldata$rep)
# Latin Square Design example (requires columns parameter)
# phen_varcov(data=lsd_data[,3:7], genotypes=lsd_data$treat,
# replication=lsd_data$row, columns=lsd_data$col, design_type="LSD")
# Split Plot Design example (requires main_plots parameter)
# phen_varcov(data=spd_data[,3:7], genotypes=spd_data$subplot,
# replication=spd_data$block, main_plots=spd_data$mainplot, design_type="SPD")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.