Package: bakR 1.0.1

Isaac Vock

bakR: Analyze and Compare Nucleotide Recoding RNA Sequencing Datasets

Several implementations of a novel Bayesian hierarchical statistical model of nucleotide recoding RNA-seq experiments (NR-seq; TimeLapse-seq, SLAM-seq, TUC-seq, etc.) for analyzing and comparing NR-seq datasets (see 'Vock and Simon' (2023) <doi:10.1261/rna.079451.122>). NR-seq is a powerful extension of RNA-seq that provides information about the kinetics of RNA metabolism (e.g., RNA degradation rate constants), which is notably lacking in standard RNA-seq data. The statistical model makes maximal use of these high-throughput datasets by sharing information across transcripts to significantly improve uncertainty quantification and increase statistical power. 'bakR' includes a maximally efficient implementation of this model for conservative initial investigations of datasets. 'bakR' also provides more highly powered implementations using the probabilistic programming language 'Stan' to sample from the full posterior distribution. 'bakR' performs multiple-test adjusted statistical inference with the output of these model implementations to help biologists separate signal from background. Methods to automatically visualize key results and detect batch effects are also provided.

Authors:Isaac Vock [aut, cre]

bakR_1.0.1.tar.gz
bakR_1.0.1.zip(r-4.7-x86_64)bakR_1.0.1.zip(r-4.7-arm64)bakR_1.0.1.zip(r-4.6-x86_64)bakR_1.0.1.zip(r-4.6-arm64)
bakR_1.0.1.tar.gz(r-4.7-arm64)bakR_1.0.1.tar.gz(r-4.7-x86_64)bakR_1.0.1.tar.gz(r-4.6-arm64)bakR_1.0.1.tar.gz(r-4.6-x86_64)
bakR_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bakR/json (API)

# Install 'bakR' in R:
install.packages('bakR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/simonlabcode/bakr/issues

Pkgdown/docs site:https://simonlabcode.github.io

Uses libs:
  • onetbb– Parallelism library for C++
  • c++– GNU Standard C++ Library v3
Datasets:
  • cB_small - Example cB data frame
  • fns - Example fraction news (fns) data frame
  • GS_table - Example cB data frame
  • metadf - Example meatdf data frame

On CRAN:

Conda:

onetbbcpp

4.04 score 31 scripts 332 downloads 21 exports 86 dependencies

Last updated from:60faee4f4a. Checks:8 NOTE, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE402
linux-devel-x86_64NOTE460
source / vignettesOK916
linux-release-arm64NOTE411
linux-release-x86_64NOTE476
windows-devel-arm64NOTE503
windows-devel-x86_64NOTE601
windows-release-arm64NOTE522
windows-release-x86_64NOTE586
wasm-releaseOK320

Exports:bakRDatabakRFitbakRFnDatacBprocessCorrectDropoutDissectMechanismfast_analysisfn_processFnPCAFnPCA2GSprocessingHeatmap_kdegNSSHeatplotMAplotVolcanoQC_checksQuantifyDropoutreliableFeaturesSimulate_bakRDataSimulate_relative_bakRDataVisualizeDropout

Dependencies:abindbackportsbase64encBHbslibcachemcallrcheckmatecliclustercolorspacecpp11data.tabledescdigestdistributionaldplyrevaluatefarverfastmapfontawesomeforeignFormulafsgenericsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsinlineisobandjquerylibjsonliteknitrlabelinglifecycleloomagrittrmatrixStatsmemoisemimennetnumDerivotelpillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6rappdirsRColorBrewerRcppRcppEigenRcppParallelrlangrmarkdownrpartrstanrstantoolsrstudioapiS7sassscalesStanHeadersstringistringrtensorAtibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml

Differential synthesis analysis with bakR and DESeq2
Introduction | Intro to differential synthesis analysis | Differential synthesis rate analysis with bakR + DESeq2

Last update: 2024-01-14
Started: 2023-06-29

GRAND-SLAM output/fn estimates as bakR input
Necessary Setup | Step 1: Creating a bakRFnData Object | Step 2: Fitting the Efficient Model | Step 3: Visualizing the Results | Step 4: Where to go from here

Last update: 2023-06-29
Started: 2023-06-29

bakR for people in a hurry
Necessary Setup | Step 1: Creating a bakRData Object | Step 2: Fitting the Efficient Model | Step 3: Visualizing the Results | Step 4: Where to go from here

Last update: 2023-06-29
Started: 2023-06-29

Correcting for dropout
Necessary Setup | A Brief Tutorial on Dropout Correction in bakR | RNA dropout and bakR's correction strategy | Differences between bakR and grandR's strategies | Appendix | A1: Algebraic aside | A2: U-content dependence

Last update: 2023-06-29
Started: 2023-06-29

Differential kinetic analysis with bakR
Necessary Setup | Step 1: Creating a bakRData Object | Step 2: Fitting the Efficient Model | Step 3: Visualizing the Results | Step 4: Where to go from here

Last update: 2023-06-29
Started: 2022-10-10

Steady-state quasi-independent mechanistic investigations
Introduction | Key takeaways from this vignette | Mechanistic dissections of gene expression regulation with bakR + DESeq2 | Going beyond the steady-state assumption | Violating the steady-state assumption | Analyzing NR-seq data far from steady-state | The statistics of DissectMechanism | The assymetry of the mechanism score | The mechanism p-value

Last update: 2023-06-29
Started: 2023-06-29

Troubleshooting analyses of NR-seq data with bakR
Necessary Setup | The QC_checks() function | Raw mutation rates | Inferred mutation rates | Average fraction news | Fraction new estimate replicate correlation | Challenge to be aware of: inaccurate pnew and pold estimates | Experimental suggestions

Last update: 2023-06-29
Started: 2023-06-29

Readme and manuals

Help Manual

Help pageTopics
The 'bakR' package.bakR-package bakR
Efficiently average replicates of nucleotide recoding data and regularizeavg_and_regularize
bakR Data object helper function for usersbakRData
Estimating kinetic parameters from nucleotide recoding RNA-seq databakRFit
bakRFnData object helper function for usersbakRFnData
Example cB data framecB_small
Curate data in bakRData object for statistical modelingcBprocess
Correcting for metabolic labeling induced RNA dropoutCorrectDropout
Construct heatmap for non-steady state (NSS) analysis with improved mechanism scoreDissectMechanism
Efficiently analyze nucleotide recoding datafast_analysis
Curate data in bakRFnData object for statistical modelingfn_process
Creating PCA plots with logit(fn) estimatesFnPCA
Creating PCA plots with logit(fn) estimatesFnPCA2
Example fraction news (fns) data framefns
Example cB data frameGS_table
Prep GRAND-SLAM output for 'bakRFnData'GSprocessing
Creating a L2FC(kdeg) matrix that can be passed to heatmap functionsHeatmap_kdeg
Example meatdf data framemetadf
bakRData object constructor for internal usenew_bakRData
bakRFnData object constructor for internal usenew_bakRFnData
Construct heatmap for non-steady state (NSS) analysisNSSHeat
Creating L2FC(kdeg) MA plot from fit objectsplotMA
Creating L2FC(kdeg) volcano plot from fit objectsplotVolcano
Check data quality and make suggestions to user about what analyses to run.QC_checks
Fit dropout model to quantify dropout frequencyQuantifyDropout
Identify features (e.g., transcripts) with high quality datareliableFeatures
Simulating nucleotide recoding dataSimulate_bakRData
Simulating nucleotide recoding data with relative count dataSimulate_relative_bakRData
Fit 'Stan' models to nucleotide recoding RNA-seq data analysisTL_stan
bakR Data object validatorvalidate_bakRData
bakRFnData object validatorvalidate_bakRFnData
Visualize dropoutVisualizeDropout