From 7c8403ead9fe195063abd1f4d564df93558ac50c Mon Sep 17 00:00:00 2001 From: mattssca Date: Fri, 9 Feb 2024 13:36:01 -0800 Subject: [PATCH] Updating site and adding vignette --- .gitignore | 3 + docs/articles/biomaester-tutorial.html | 651 ++++++++++++++++++ .../kePrint-0.0.1/kePrint.js | 8 + .../lightable-0.0.1/lightable.css | 272 ++++++++ docs/articles/index.html | 93 +++ docs/index.html | 1 + docs/pkgdown.yml | 5 +- docs/search.json | 2 +- docs/sitemap.xml | 6 + 9 files changed, 1038 insertions(+), 3 deletions(-) create mode 100644 docs/articles/biomaester-tutorial.html create mode 100644 docs/articles/biomaester-tutorial_files/kePrint-0.0.1/kePrint.js create mode 100644 docs/articles/biomaester-tutorial_files/lightable-0.0.1/lightable.css create mode 100644 docs/articles/index.html diff --git a/.gitignore b/.gitignore index 23a20d4..d09ba29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ .Rproj.user .DS_Store my_bed.bed +vignettes/*.html +vignettes/*.log +vignettes/*.tex \ No newline at end of file diff --git a/docs/articles/biomaester-tutorial.html b/docs/articles/biomaester-tutorial.html new file mode 100644 index 0000000..5246412 --- /dev/null +++ b/docs/articles/biomaester-tutorial.html @@ -0,0 +1,651 @@ + + + + + + + + +BioMaesteR Tutorial • biomaesteR + + + + + + + + + + + + + + + + + Skip to contents + + +
+ + + + +
+
+ + + +

This is a tutorial for the BiomaesteR package, an R package with +convenience functions commonly requested in various types of genomic +analysis within R. This package is specialized to provide bioinformatics +infrastructure that can be used in a variety of genomic analysis.

+
+

Load packages +

+ +
+
+

Bundled Data Objects +

+

In this section, we will explore and use the bundled data objects +that come with the BiomaesteR package. Note that raw data and data +comilation scripts are also included within this package. The +documentation for bunlded objects can be found here. +As for the data comilation, this script can be found here.

+
+

What Is Inlcuded? +

+

First, let’s take a look at the data objects that are included in the +BiomaesteR. The following objects are as of now included in the +package:

+ +
+
+

Dataset Exploration +

+

Now, let’s take a look at the first few rows of the gene coordinates +for the GRCh37 assembly.

+
+kable(gene_coordinates_grch37[1:5, ], "html") %>% 
+  scroll_box(width = "100%")
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+chrom + +start + +end + +width + +strand + +type + +tag + +ccds_id + +ensembl_gene_id + +hugo_symbol + +source + +score + +gene_version + +gene_source + +gene_biotype + +transcript_id + +transcript_version + +transcript_name + +transcript_source + +transcript_biotype + +exon_number + +exon_id + +exon_version + +protein_id + +protein_version +
+1 + +11869 + +14412 + +2544 + +
+
+gene + +NA + +NA + +ENSG00000223972 + +DDX11L1 + +ensembl_havana + +NA + +4 + +ensembl_havana + +pseudogene + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA +
+1 + +14363 + +29806 + +15444 + +
+
+gene + +NA + +NA + +ENSG00000227232 + +WASH7P + +ensembl_havana + +NA + +4 + +ensembl_havana + +pseudogene + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA +
+1 + +29554 + +31109 + +1556 + +
+
+gene + +NA + +NA + +ENSG00000243485 + +MIR1302-10 + +ensembl_havana + +NA + +2 + +ensembl_havana + +lincRNA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA +
+1 + +34554 + +36081 + +1528 + +
+
+gene + +NA + +NA + +ENSG00000237613 + +FAM138A + +ensembl_havana + +NA + +2 + +ensembl_havana + +lincRNA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA +
+1 + +52473 + +54936 + +2464 + +
+
+gene + +NA + +NA + +ENSG00000268020 + +OR4G4P + +ensembl_havana + +NA + +2 + +ensembl_havana + +pseudogene + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA + +NA +
+
+ + + + + +
+
+
+
+ + + +
+ + + +
+
+ + + + + + + diff --git a/docs/articles/biomaester-tutorial_files/kePrint-0.0.1/kePrint.js b/docs/articles/biomaester-tutorial_files/kePrint-0.0.1/kePrint.js new file mode 100644 index 0000000..e6fbbfc --- /dev/null +++ b/docs/articles/biomaester-tutorial_files/kePrint-0.0.1/kePrint.js @@ -0,0 +1,8 @@ +$(document).ready(function(){ + if (typeof $('[data-toggle="tooltip"]').tooltip === 'function') { + $('[data-toggle="tooltip"]').tooltip(); + } + if ($('[data-toggle="popover"]').popover === 'function') { + $('[data-toggle="popover"]').popover(); + } +}); diff --git a/docs/articles/biomaester-tutorial_files/lightable-0.0.1/lightable.css b/docs/articles/biomaester-tutorial_files/lightable-0.0.1/lightable.css new file mode 100644 index 0000000..3be3be9 --- /dev/null +++ b/docs/articles/biomaester-tutorial_files/lightable-0.0.1/lightable.css @@ -0,0 +1,272 @@ +/*! + * lightable v0.0.1 + * Copyright 2020 Hao Zhu + * Licensed under MIT (https://github.com/haozhu233/kableExtra/blob/master/LICENSE) + */ + +.lightable-minimal { + border-collapse: separate; + border-spacing: 16px 1px; + width: 100%; + margin-bottom: 10px; +} + +.lightable-minimal td { + margin-left: 5px; + margin-right: 5px; +} + +.lightable-minimal th { + margin-left: 5px; + margin-right: 5px; +} + +.lightable-minimal thead tr:last-child th { + border-bottom: 2px solid #00000050; + empty-cells: hide; + +} + +.lightable-minimal tbody tr:first-child td { + padding-top: 0.5em; +} + +.lightable-minimal.lightable-hover tbody tr:hover { + background-color: #f5f5f5; +} + +.lightable-minimal.lightable-striped tbody tr:nth-child(even) { + background-color: #f5f5f5; +} + +.lightable-classic { + border-top: 0.16em solid #111111; + border-bottom: 0.16em solid #111111; + width: 100%; + margin-bottom: 10px; + margin: 10px 5px; +} + +.lightable-classic tfoot tr td { + border: 0; +} + +.lightable-classic tfoot tr:first-child td { + border-top: 0.14em solid #111111; +} + +.lightable-classic caption { + color: #222222; +} + +.lightable-classic td { + padding-left: 5px; + padding-right: 5px; + color: #222222; +} + +.lightable-classic th { + padding-left: 5px; + padding-right: 5px; + font-weight: normal; + color: #222222; +} + +.lightable-classic thead tr:last-child th { + border-bottom: 0.10em solid #111111; +} + +.lightable-classic.lightable-hover tbody tr:hover { + background-color: #F9EEC1; +} + +.lightable-classic.lightable-striped tbody tr:nth-child(even) { + background-color: #f5f5f5; +} + +.lightable-classic-2 { + border-top: 3px double #111111; + border-bottom: 3px double #111111; + width: 100%; + margin-bottom: 10px; +} + +.lightable-classic-2 tfoot tr td { + border: 0; +} + +.lightable-classic-2 tfoot tr:first-child td { + border-top: 3px double #111111; +} + +.lightable-classic-2 caption { + color: #222222; +} + +.lightable-classic-2 td { + padding-left: 5px; + padding-right: 5px; + color: #222222; +} + +.lightable-classic-2 th { + padding-left: 5px; + padding-right: 5px; + font-weight: normal; + color: #222222; +} + +.lightable-classic-2 tbody tr:last-child td { + border-bottom: 3px double #111111; +} + +.lightable-classic-2 thead tr:last-child th { + border-bottom: 1px solid #111111; +} + +.lightable-classic-2.lightable-hover tbody tr:hover { + background-color: #F9EEC1; +} + +.lightable-classic-2.lightable-striped tbody tr:nth-child(even) { + background-color: #f5f5f5; +} + +.lightable-material { + min-width: 100%; + white-space: nowrap; + table-layout: fixed; + font-family: Roboto, sans-serif; + border: 1px solid #EEE; + border-collapse: collapse; + margin-bottom: 10px; +} + +.lightable-material tfoot tr td { + border: 0; +} + +.lightable-material tfoot tr:first-child td { + border-top: 1px solid #EEE; +} + +.lightable-material th { + height: 56px; + padding-left: 16px; + padding-right: 16px; +} + +.lightable-material td { + height: 52px; + padding-left: 16px; + padding-right: 16px; + border-top: 1px solid #eeeeee; +} + +.lightable-material.lightable-hover tbody tr:hover { + background-color: #f5f5f5; +} + +.lightable-material.lightable-striped tbody tr:nth-child(even) { + background-color: #f5f5f5; +} + +.lightable-material.lightable-striped tbody td { + border: 0; +} + +.lightable-material.lightable-striped thead tr:last-child th { + border-bottom: 1px solid #ddd; +} + +.lightable-material-dark { + min-width: 100%; + white-space: nowrap; + table-layout: fixed; + font-family: Roboto, sans-serif; + border: 1px solid #FFFFFF12; + border-collapse: collapse; + margin-bottom: 10px; + background-color: #363640; +} + +.lightable-material-dark tfoot tr td { + border: 0; +} + +.lightable-material-dark tfoot tr:first-child td { + border-top: 1px solid #FFFFFF12; +} + +.lightable-material-dark th { + height: 56px; + padding-left: 16px; + padding-right: 16px; + color: #FFFFFF60; +} + +.lightable-material-dark td { + height: 52px; + padding-left: 16px; + padding-right: 16px; + color: #FFFFFF; + border-top: 1px solid #FFFFFF12; +} + +.lightable-material-dark.lightable-hover tbody tr:hover { + background-color: #FFFFFF12; +} + +.lightable-material-dark.lightable-striped tbody tr:nth-child(even) { + background-color: #FFFFFF12; +} + +.lightable-material-dark.lightable-striped tbody td { + border: 0; +} + +.lightable-material-dark.lightable-striped thead tr:last-child th { + border-bottom: 1px solid #FFFFFF12; +} + +.lightable-paper { + width: 100%; + margin-bottom: 10px; + color: #444; +} + +.lightable-paper tfoot tr td { + border: 0; +} + +.lightable-paper tfoot tr:first-child td { + border-top: 1px solid #00000020; +} + +.lightable-paper thead tr:last-child th { + color: #666; + vertical-align: bottom; + border-bottom: 1px solid #00000020; + line-height: 1.15em; + padding: 10px 5px; +} + +.lightable-paper td { + vertical-align: middle; + border-bottom: 1px solid #00000010; + line-height: 1.15em; + padding: 7px 5px; +} + +.lightable-paper.lightable-hover tbody tr:hover { + background-color: #F9EEC1; +} + +.lightable-paper.lightable-striped tbody tr:nth-child(even) { + background-color: #00000008; +} + +.lightable-paper.lightable-striped tbody td { + border: 0; +} + diff --git a/docs/articles/index.html b/docs/articles/index.html new file mode 100644 index 0000000..36a5976 --- /dev/null +++ b/docs/articles/index.html @@ -0,0 +1,93 @@ + +Articles • biomaesteR + Skip to contents + + +
+
+
+ +
+

All vignettes

+

+ +
BioMaesteR Tutorial
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/docs/index.html b/docs/index.html index c1fde7f..c883ab4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -90,6 +90,7 @@
+

pages-build-deployment