Ziru: Ziru

ZiruR Documentation

Ziru

Description

A tibble with weight measurements from C57BL/6 male mice over 10 weeks.

Usage

data(Ziru)

Format

A tibble

Source

This data was created using inst/extdata/processZiru.R

Examples


 data(Ziru)
 show(Ziru)

 # if `ggplot2` is installed:
 if (require("ggplot2") & require("reshape2")) {

   Ziru$mouse <- seq_len(nrow(Ziru))
   melted <- melt(Ziru, 
                  id.vars="mouse",
                  variable.name="week",
                  value.name="weight")
   melted$week <- as.ordered(melted$week)

   ggplot(melted, aes(group=mouse, x=week, y=weight, color=mouse)) + 
     geom_point() + 
     geom_line() + 
     theme_minimal()

 }



VanAndelInstitute/bifurcatoR documentation built on Oct. 13, 2024, 6:29 p.m.