Description Format Source Examples
Levels of expression of the foraging gene (for; Expression
) in
two worker types (type
) in three bee colonies (colony
). Note
that colony
is not coded as a factor.
A data frame with 6 observations on the following 3 variables.
a factor with levels forager
nurse
a numeric identifier
expression level of the for gene
Ben-Shahar, Y., A. Robichon, M.B. Sokolowski, and G.E. Robinson. 2002. Influence of gene action across different time scales on behavior. Science 296: 741-744.
1 2 3 |
Loading required package: nlme
Loading required package: lattice
Loading required package: grid
Loading required package: mosaic
Loading required package: dplyr
Attaching package: 'dplyr'
The following object is masked from 'package:nlme':
collapse
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: ggformula
Loading required package: ggplot2
Loading required package: ggstance
Attaching package: 'ggstance'
The following objects are masked from 'package:ggplot2':
GeomErrorbarh, geom_errorbarh
New to ggformula? Try the tutorials:
learnr::run_tutorial("introduction", package = "ggformula")
learnr::run_tutorial("refining", package = "ggformula")
Loading required package: mosaicData
Loading required package: Matrix
The 'mosaic' package masks several functions from core packages in order to add
additional features. The original behavior of these functions should not be affected by this.
Note: If you use the Matrix package, be sure to load it BEFORE loading mosaic.
Attaching package: 'mosaic'
The following object is masked from 'package:Matrix':
mean
The following object is masked from 'package:ggplot2':
stat
The following objects are masked from 'package:dplyr':
count, do, tally
The following objects are masked from 'package:stats':
IQR, binom.test, cor, cor.test, cov, fivenum, median, prop.test,
quantile, sd, t.test, var
The following objects are masked from 'package:base':
max, mean, min, prod, range, sample, sum
'data.frame': 6 obs. of 3 variables:
$ type : Factor w/ 2 levels "forager","nurse": 2 1 2 1 2 1
$ colony : int 1 1 2 2 3 3
$ expression: num 0.99 1.93 1 2.36 0.24 1.96
type colony expression
1 nurse 1 0.99
2 forager 1 1.93
3 nurse 2 1.00
4 forager 2 2.36
5 nurse 3 0.24
6 forager 3 1.96
colony
type 1 2 3
forager 1.93 2.36 1.96
nurse 0.99 1.00 0.24
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.