-
Notifications
You must be signed in to change notification settings - Fork 1
/
html_qa_report.Rmd
66 lines (55 loc) · 1.5 KB
/
html_qa_report.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
---
title: "Output HTML quality assessment report"
author:
- name: Xiaotao Shen (https://www.shenxt.info/)
date: "Created on 2021-12-04 and updated on `r Sys.Date()`"
output:
html_document:
df_print: paged
toc: no
pdf_document:
toc: no
vignette: >
%\VignetteIndexEntry{hmtl_qc_report}
%\VignettePackage{massqc}
% \VignetteEngine{knitr::rmarkdown}
% \usepackage[utf8]{inputenc}
%\VignetteEncoding{UTF-8}
---
```{r, include = FALSE, echo=FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
warning = FALSE,
message = TRUE,
out.width = "100%"
)
```
# **Data preparation**
```{r,eval=TRUE,warning=FALSE, R.options="", message=FALSE, cache=TRUE}
library(massdataset)
library(tidyverse)
library(massqc)
data("sample_info", package = "massdataset")
data("expression_data", package = "massdataset")
data("variable_info", package = "massdataset")
object =
create_mass_dataset(
expression_data = expression_data,
sample_info = sample_info,
variable_info = variable_info
)
object
```
# **massqc_report()**
```{r,eval=TRUE,warning=FALSE, R.options="", message=FALSE, cache=TRUE}
massqc_report(object, path = "demo_data")
```
Then one folder named as `Report` will be in the `demo_data` folder.
![](../man/figures/Screen Shot 2022-01-06 at 11.51.25 PM.png)
And open the `massqc_report.html`.
![](../man/figures/Screen Shot 2022-01-06 at 11.52.25 PM.png)
# **Session information**
```{r,eval=TRUE,warning=FALSE, R.options="", message=FALSE, cache=TRUE}
sessionInfo()
```