Skip to contents

In the FastQC-viz report, the header of each module is composed by a pill indicating the status of the module and the name of the module.

Usage

create_header(fastqc_data, module_name, add_help = TRUE)

Arguments

fastqc_data

fastqc_parser(), output

module_name

character, name of the module

add_help

boolean, add help button to the header

Value

character, The HTML elements that compose the header

Examples

fastqc_data <- parse_fastqc(system.file("extdata", "SRR622457_2_fastqc.txt", package = "fastqcviz"))
create_header(fastqc_data, "per_base_sequence_quality")
#> [1] "<h1><span class=\"pill\" \nstyle=\"\n  background: #afe0b7ff;\n  border: 1px solid #2f6638ff;\n  color: #2f6638ff;\n\">\n  PASS\n</span> Per base sequence quality\n<label class=\"info-button\" for=\"card-toggler-per_base_sequence_quality\">i</label></h1>\n<input type=\"checkbox\" class=\"card-toggler\" id=\"card-toggler-per_base_sequence_quality\"/>"