Skip to content

Commit

Permalink
report
Browse files Browse the repository at this point in the history
  • Loading branch information
angelovangel committed Jul 20, 2024
1 parent dac250e commit d4fb5a8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ importFrom(dplyr,"%>%")
importFrom(dplyr,bind_rows)
importFrom(dplyr,summarise)
importFrom(htmlwidgets,JS)
importFrom(kableExtra,kable_minimal)
importFrom(kableExtra,kable_styling)
importFrom(kableExtra,kbl)
importFrom(knitr,kable)
Expand Down
1 change: 1 addition & 0 deletions R/rfaster2-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#' @importFrom dplyr bind_rows
#' @importFrom dplyr summarise
#' @importFrom htmlwidgets JS
#' @importFrom kableExtra kable_minimal
#' @importFrom kableExtra kable_styling
#' @importFrom kableExtra kbl
#' @importFrom knitr kable
Expand Down
12 changes: 7 additions & 5 deletions inst/report.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ num_bases_text <- label_number(scale_cut = cut_si(""), accuracy = 1)(num_bases)

***

### Number of reads and read quality metrics
### FASTQ read quality metrics
The report contains
<blockquote>
**`r num_files`** fastq files
Expand All @@ -80,9 +80,10 @@ kableExtra::kbl(
digits = 2, caption = 'Table 1. FASTQ files statistics',
format.args = list(big.mark = ",")
) %>%
kable_styling(
fixed_thead = TRUE, bootstrap_options = c("responsive")
)
# kable_styling(
# full_width = T, fixed_thead = TRUE, bootstrap_options = c("responsive")
# ) %>%
kable_minimal(lightable_options = 'hover')
```
Expand Down Expand Up @@ -118,7 +119,8 @@ table2_caption <- paste0(
df %>%
#dplyr::arrange(file) %>%
kableExtra::kbl(escape = F, caption = table2_caption) %>%
kable_styling(fixed_thead = TRUE, bootstrap_options = c("responsive"))
#kable_styling(fixed_thead = TRUE, bootstrap_options = c("responsive"))
kable_minimal()
```

Expand Down
2 changes: 1 addition & 1 deletion man/rfaster2-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d4fb5a8

Please sign in to comment.