-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
79 lines (50 loc) · 1.54 KB
/
README.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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# Thermo_readbacks
<!-- badges: start -->
<!-- badges: end -->
A soon-to-be R package supporting Thermo mass spectrometry instrument readback analysis. Thermo orbitrap mass spectrometers record numerous instrument readbacks including:
* Ambient temperature
* Analyzer temperature
* CEPS Peltier temperature
* Fore vacuum pressure
* high vacuum pressure
* ultra high vacuum pressure
### Supported Instruments
* Q-Exactive family instruments
* Exploris family instruments
### Path to log files
#### Q Exactive
`C:\Xcalibur\system\Exactive\log\`
#### Exploris
`C:\ProgramData\Thermo\Exploris\Log`
# Example
```{r include=FALSE}
source("bin/import_log_files.R")
library(scales)
data <- import_log_files("data/Exploris")
# names(data)[grep("temp", names(data))]
```
```{r echo=FALSE}
ggplot(data %>% filter(time >= as.Date("2021-01-01")),
aes(x = time)) +
geom_line(aes(y = orbitrap_pt100_temperature_act_a_c, color = "Orbi Temp")) +
scale_color_brewer(palette = "Set1") +
labs(title = "Exploris Orbi Temperature",
y = expression('Temp ('~degree*C*')'),
x = NULL,
color = NULL) +
scale_x_datetime(breaks = scales::breaks_pretty(10)) +
scale_y_continuous(limits = c(30,NA),
breaks = breaks_pretty()) +
theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
ggthemes::theme_hc(base_size = 14)
```