| Phenomics_Rosettes | R Documentation |
A dataset containing phenotypic variables measured on rosettes of five A. thaliana genotypes at two growth temperatures. See Ecotype and Temperature for more information.
data("Phenomics_Rosettes")
A data frame with 30 rows and 5 variables:
Mass: rosette mass (g)
Diameter: rosette diameter (cm)
Leaves_number: total number of leaves
Density: rosette density (g/cm²)
Area: projected rosette area (cm²)
doi: 10.3390/cells9102249
# Load the data
data("Phenomics_Rosettes")
# Look at simple statistics
dim(Phenomics_Rosettes)
summary(Phenomics_Rosettes)
# Create a colors' vector
colors <- c(rep("#A6CEE3",3), rep("#1F78B4",3), rep("#B2DF8A",3), rep("#33A02C",3),
rep("#FB9A99",3), rep("#E31A1C",3), rep("#FDBF6F",3), rep("#FF7F00",3),
rep("#CAB2D6",3), rep("#6A3D9A",3))
# A graphical representation: Leaves number distribution
plot(x = as.factor(substr(row.names(Phenomics_Rosettes), 1, 7)),
y = Phenomics_Rosettes$Leaves_number, col = "white", lty = 0,
xlab = "Genotype x Temperature groups",
ylab = "Number of rosette leaves",
main = "Rosette leaves' distribution by genotype and growth temperature"
)
grid()
points(x = as.factor(substr(row.names(Phenomics_Rosettes), 1, 7)),
y = Phenomics_Rosettes$Leaves_number, type = "p", pch = 19, lwd = 5,
col = colors)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.