High Frequency Wastewater Data

knitr::opts_chunk$set(Warning = FALSE, message = FALSE, echo = FALSE)

High Frequency Data Source

This vignette covers the high frequency data collected by the Wisconsin State Lab of Hygiene. This Wastewater data covers 6 weeks of 9 measurements per day, 6 days a week. This has 17 columns where 4 categorical variables and 13 measurement columns which analyse 6 signals.

library(Covid19Wastewater)
library(dplyr)
library(ggplot2)

data(HFGWaste_data, package = "Covid19Wastewater")

The data is broken down by site, date, filter and well. Site is where the sample was collected from a range of 10 locations. Filter and well are what level of replicates it is. Filter is the high level category representing the different collections. Well contains the info about what technical batch it was. The numbering of the categories is arbitrary from day to day.

#fix titles
#fix overploting points and axis
#drop well category in plot
HFGWaste_data%>%
  ggplot(aes(x = date, y = N1, color = as.factor(Filter)), size = .5)+
  geom_point(alpha = .5)+
  scale_y_log10()+
  facet_wrap(~site, scales = "free_y")+
  theme(plot.title = element_text(hjust = 0.5),
        axis.text.x = element_text(angle = 60, vjust = 0.5, hjust=1))+
  labs( color = "Filter", x = "Date", y = "Gene Concentration", title = "Log number of N1 and N2")

Otherwise the signals measured were N1 and N2, different genes of Covid-19, PMMOV, BCoV, HF183, and CrP, which are intended to function as normalizers. These signals can have a couple of different companion columns. The Ct version is what the machine measured which was the number of spins to detect the genes. This is an exponential decay transformation to the Base column. The other extra column is the LOD which says if the measurement was below the lab's level of detection. This might mean the exact number is less reliable.

#change to table form
#over explain is better then under explain
#have explanation as an appendix



HFGWaste_data%>%
  head()%>%
  knitr::kable()

We used this data set in some analysis here



Try the Covid19Wastewater package in your browser

Any scripts or data that you put into this service are public.

Covid19Wastewater documentation built on Aug. 25, 2023, 1:07 a.m.