Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fdcns
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
This server has been upgraded to GitLab release
17.10
.
Show more breadcrumbs
Gorka Fraga Gonzalez
fdcns
Commits
4296896d
Verified
Commit
4296896d
authored
6 months ago
by
Gorka Fraga Gonzalez
Committed by
GitLab UZH
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
changed look, warnings and code echo off
parent
b12c6ab5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
webpage_contents/_quarto.yml
+8
-3
8 additions, 3 deletions
webpage_contents/_quarto.yml
webpage_contents/publications/20240901_Marta_GironaAlarcon/Publication_page.qmd
+9
-11
9 additions, 11 deletions
...cations/20240901_Marta_GironaAlarcon/Publication_page.qmd
with
17 additions
and
14 deletions
webpage_contents/_quarto.yml
+
8
−
3
View file @
4296896d
...
...
@@ -39,6 +39,11 @@ website:
format
:
html
:
toc
:
true
toc-depth
:
4
embed-resources
:
true
toc
:
true
toc-depth
:
4
embed-resources
:
true
grid
:
body-width
:
1500px
echo
:
false
warning
:
false
This diff is collapsed.
Click to expand it.
webpage_contents/publications/20240901_Marta_GironaAlarcon/Publication_page.qmd
+
9
−
11
View file @
4296896d
...
...
@@ -13,7 +13,7 @@ author:
orcid: 0000-0003-2665-0995
affiliations:
- name: The Interface Group, Institute of Physiology, University of Zurich
code-fold: true
---
## Setup
[test_link](https://gitlab.uzh.ch/)
...
...
@@ -47,9 +47,6 @@ Three dimensional rendering of CSF spaces enclosed in the mouse skull: Infusion
## Links to protocol pages
```{r}
# | warning: false
library(dplyr)
# This code chunk gathers the rows from tables specified in the inputs
...
...
@@ -72,23 +69,24 @@ DT::datatable(paths, options = list(dom = 't'), escape = FALSE, rownames = FALSE
## Sample information
```{r}
# | warning: false
library(dplyr)
# Take the relevant rows from the tables specified in inputs
data_used <- list()
for (i in 1:nrow(inputs)){
row_filepath <- file.path(here::here(), 'experiments',inputs$Data_type[i], inputs$Facility_name_YYYY_month[i], "metadata_tables", inputs$Metadata_file[i])
data_used[[i]] <- read.csv(row_filepath) %>% filter(Subject_ID == inputs$Subject_ID[i]) # read table and filter subject
# Add additional columns from 'input_mice' tables into the mouse_list table that will be displayed
data_used[[i]]$Subject_pubID <- inputs$Subject_pubID[i]
data_used[[i]]$Correction_factor <- inputs$Correction_factor[i] # Add additional input column
}
# Gather
list
elements in a table
# Gather
all rows
elements in a table
data_used <- do.call(rbind,data_used)
data_used$Subject_pubID <- inputs$Subject_pubID # Add additional input column
data_used$correction_factor <- inputs$Correction_factor # Add additional input column
data_used <- relocate(data_used, Correction_factor, .before = 7)
# add the subject index for publication as first variable
# Change position of some columns
data_used <- relocate(data_used, Correction_factor, .before = 7)
data_used <- relocate(data_used, Subject_pubID, .before = 1)
#Display table
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment