-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkinetic_plotting_html.Rmd
86 lines (50 loc) · 1.44 KB
/
kinetic_plotting_html.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
author: "Prashant Kalvapalle"
date: '`r format(Sys.time(), "%d %B, %Y")`'
output:
html_document:
theme: flatly
toc: TRUE
toc_float: TRUE
---
---
title: `r title_name`
---
```{r setup, include=FALSE}
library(knitr)
knitr::opts_chunk$set(echo = F, message = F, warning = F, fig.width = 7, fig.height = 4)
```
## Plotting
### Raw growth curves
Interactive plot
_Try to Zoom, Select desired subcategories etc._
```{r plotrawinteract}
plotly::ggplotly(plt.raw) %>%
plotly::style(textposition = 'top right')
```
Static plot
```{r plotraw}
plt.raw
```
### Summary growth curves
Interactive plot
_Points showing the mean of independent replicates, line connecting the means; Light curves showing the upper and lower standard deviations_
```{r summinteract}
plotly::ggplotly(plt.summary) %>%
plotly::style(textposition = 'top right')
```
Static plot
_Points showing the mean of independent replicates, line connecting the means and shaded region showing standard deviations_
```{r summ}
plt.summary.directlabels
```
`r if(gfpplots) {"### GFP timeseries"}`
```{r gfpplotting}
plt.gfp.raw <- plot_kinetic_raw(y_variable = GFP)
plt.gfp.summary <- plot_kinetic_ribbon.summary(y_variable = GFP)
directlabels::direct.label(plt.gfp.summary) %>%
print()
plotly::ggplotly(plt.gfp.summary) %>%
plotly::style(textposition = 'top right')
```
check for processed data as a csv file in the `/plate reader data/processed` folder