Some changes
This commit is contained in:
1
README.txt
Normal file
1
README.txt
Normal file
@@ -0,0 +1 @@
|
||||
This is a placeholder README for the project BioHub.
|
||||
117
src/MAIN.qmd
Normal file
117
src/MAIN.qmd
Normal file
@@ -0,0 +1,117 @@
|
||||
---
|
||||
title: "BioHub"
|
||||
author: "Klementy Shchetynsky"
|
||||
date: "2025-12-10"
|
||||
output_format: html
|
||||
execute:
|
||||
cache: false
|
||||
editor:
|
||||
markdown:
|
||||
wrap: 72
|
||||
---
|
||||
|
||||
# Purpose
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
# Setup
|
||||
|
||||
*+--*
|
||||
|
||||
```{bash}
|
||||
ls -l
|
||||
```
|
||||
|
||||
## Project initialization: Building directory structure
|
||||
|
||||
```{r}
|
||||
#| label: initiate_project
|
||||
#| eval: false
|
||||
|
||||
##############################
|
||||
myProjName <- "BioHub"
|
||||
myProjPath <- "~/Desktop/dev/"
|
||||
##############################
|
||||
|
||||
|
||||
### Building directory structure
|
||||
source(paste0(myProjPath,"PROJINIT/projinit.R"))
|
||||
projinit(myProjPath, myProjName)
|
||||
|
||||
```
|
||||
|
||||
> \[!HINT\] Make sure to :saveas this .qmd into the project's "src/"
|
||||
> directory!
|
||||
|
||||
## Libraries and environment
|
||||
|
||||
#### Graphic output device setup
|
||||
|
||||
+--
|
||||
|
||||
```{r}
|
||||
#| label: graph_out
|
||||
#| message: false
|
||||
#| eval: false
|
||||
|
||||
library(httpgd)
|
||||
hgd()
|
||||
hgd_browse()
|
||||
### hgd_close()
|
||||
|
||||
```
|
||||
|
||||
> \[!NOTE\] The `httpgd` package uses default browser as graphics
|
||||
> device.
|
||||
|
||||
--+ \#### Library loading
|
||||
|
||||
+--
|
||||
|
||||
```{r}
|
||||
#| label: libs
|
||||
#| message: false
|
||||
### General libraries
|
||||
|
||||
library(ggplot2)
|
||||
library(tidyverse)
|
||||
library(data.table)
|
||||
library(quarto)
|
||||
library(cowplot)
|
||||
|
||||
```
|
||||
|
||||
#### Project-spedific libraries
|
||||
|
||||
```{r}
|
||||
#| label: proj_libs
|
||||
#| message: false
|
||||
#| eval: true
|
||||
|
||||
```
|
||||
|
||||
--+
|
||||
|
||||
*--+* \# Data prep
|
||||
|
||||
+--
|
||||
|
||||
--+ \# Analysis
|
||||
|
||||
+--
|
||||
|
||||
--+ \# Plotting
|
||||
|
||||
+--
|
||||
|
||||
--+ \# Embedded graphics
|
||||
|
||||
+-- :::{layout-ncol=2}
|
||||
|
||||
:::
|
||||
|
||||
--+ \# MISC
|
||||
|
||||
+--
|
||||
|
||||
--+
|
||||
Reference in New Issue
Block a user