https://github.com/bayer-group/vcg-resampling

preparation for moving open source submission https://github.com/bayer-int/bayer-open-source-submissions/issues/31

https://github.com/bayer-group/vcg-resampling

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.2%) to scientific vocabulary

Keywords

beat-undefined
Last synced: 9 months ago · JSON representation

Repository

preparation for moving open source submission https://github.com/bayer-int/bayer-open-source-submissions/issues/31

Basic Info
  • Host: GitHub
  • Owner: Bayer-Group
  • License: bsd-3-clause
  • Default Branch: main
  • Size: 9.2 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
beat-undefined
Created about 3 years ago · Last pushed about 2 years ago
Metadata Files
Readme Contributing License Codeowners

README.md

VCG-resampling

This code visualizes the electrolyte-values of serum control-group animals followed by a resampling experiment. As an input, the electrolyte values of the Virtual Control Groups (VCG) data set are read as CSV and visualized The laboratory parameter values (LB-domain) formatted by SEND (standard for exchange of non-clinical data) of a legacy study need to be placed into the Data/Derived-subfolder in order to excecute the resampling experiment.

Dependencies

In order to run the R-scripts the following R-packages were used: - data.table - tidyverse - DescTools - plotly - webshot

Data

The data for visualizing the electrolyte values of the control-group animals used in this manuscript are located in the subfolder ~/Data/Derived/electrolyte_parameters_4wk_rat.csv. This data is composed from 32 rat studies stored in the SEND format. The anesthetics used for sedation of these animals during blood withdrawal is stored in the subfolder ~/Data/Original/narcosis.csv. Data for visualizing the results of the legacy study are is the property of Bayer pharmaceuticals AG and are subject to confidentiality. They can be made available upon request. User would need to set up a CSV table called legacy_calcium_study.csv.

This repository composes the following R-scripts:

00_master.R

Excecutes all remaining R-scripts and stores the results

01_visualization_master.R

Excecutes the specified visualization steps of the electrolyte-values

02_make_dunnett_test.R

Excecutes the resampling approach and (re)calculate the Dunnett's test. This is done by the following procedure: 1) Calculate a Dunnett's test using the individual values of the CSV input file from ~/Data/Derived 2) Replaces the original control group values with a random sample (without replacement) of values from rats which were anesthetized with either isoflurane or CO2 or both and recalculates the Dunnett's test 3) Repeats the previous step n times where n is a user-specified number 4) Summarizes results in a list giving the percentage of how often the original result was reproduced (per dose group) as well as the mean values of each sample of the VCGs. These results are further split into following categories: - Consistent results (VCGs led to a result consistent with the results of the original study). - Inconsistently significant results (VCGs led to a Dunnett-significant result while there was non in the original result). - Inconsistently non-significant results (VCGs led to no signficant result while there was one in the original result). - Inverted significant result (VCGs led to a significant result and in the original study was one too, but the direction of the significance is inverted).

03_apply_dunnett_test_to_legacy_study.R

Applies the Dunnett's test to the legacy study of "02makedunnetttest.R" using a resampling approach with respect to the selected scenarios. The figures and tables in the manuscript can be reproduced using the following R markdown file. The generated figures are saved in inst/manuscript2022

The results are then visualized by the following scripts for the figures used in the manuscript:

  • 04_visualize_electrolytes.R to plot the distributions of the electrolyte values.
  • 05_visualize_scenarios.R to plot the concurrent control animals and show which ones are kept As sentinel animals.
  • 06_visualize_picked_iterations.R to plot the results of a single handpicked iteration of the resampling experiment.
  • 07_visualize_resampling_results.R to plot all results of all iterations of the resampling experiment.

Figures

The resulting figures are stored in the ~/Results/HTML-subfolder as HTML files. The images as JPEG format can be found under ~/Results/JPEG.

Author

Alexander Gurjanov - Alexander Gurjanov

Owner

  • Name: Bayer Open Source
  • Login: Bayer-Group
  • Kind: organization

Science for a better life

GitHub Events

Total
  • Member event: 1
Last Year
  • Member event: 1

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 64
  • Total Committers: 1
  • Avg Commits per committer: 64.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
AlexanderGurjanov 8****v 64

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/code-quality.yml actions
  • actions/checkout v2 composite