# installing necessary packages
if (requireNamespace("magrittr", quietly = TRUE)) {
  `%>%` <- magrittr::`%>%`
}
if (!require("remotes")) install.packages("remotes")
if (!require("pacman")) install.packages("pacman")
if (!require("pak")) install.packages("pak")
if (!require("here")) install.packages("here")

source_rmd <- function(rmd_file){
  knitr::knit(rmd_file, output = tempfile(), envir = globalenv())
}

list_of_Rmd <- list.files(path = here::here("childRmd"), pattern = "Rmd")

list_of_Rmd <- list_of_Rmd[!list_of_Rmd %in% c("_19shinySurvival.Rmd")]

purrr::map(.x = here::here("childRmd", list_of_Rmd), .f = source_rmd)

$DOI$

https://doi.org/10.5281/zenodo.3635430

https://osf.io/3tjfk/

Histopathology Research Template 🔬


Introduction

Materials & Methods

Describe Materials and Methods as highlighted in [@Knijn2015].^[From Table 1: Proposed items for reporting histopathology studies. Recommendations for reporting histopathology studies: a proposal Virchows Arch (2015) 466:611–615 DOI 10.1007/s00428-015-1762-3 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4460276/]


Statistical Methods


Header Codes



Generate Fake Data



Import Data



Study Population



Ethics and IRB



Define Variable Types



Overview the Data



Statistical Analysis

Learn these tests as highlighted in [@Schmidt2017].^[Statistical Literacy Among Academic Pathologists: A Survey Study to Gauge Knowledge of Frequently Used Statistical Tests Among Trainees and Faculty. Archives of Pathology & Laboratory Medicine: February 2017, Vol. 141, No. 2, pp. 279-287. https://doi.org/10.5858/arpa.2016-0200-OA]


Results

Write results as described in [@Knijn2015]^[From Table 1: Proposed items for reporting histopathology studies. Recommendations for reporting histopathology studies: a proposal Virchows Arch (2015) 466:611–615 DOI 10.1007/s00428-015-1762-3 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4460276/]


Data Dictionary



Clean and Recode Data



Impute Missing Data



\pagebreak

Descriptive Statistics



\newpage \blandscape


\elandscape




\newpage \blandscape



Survival Analysis



Interactive Survival Analysis



\elandscape

Correlation


Models



\pagebreak



\pagebreak

Discussion

\pagebreak

Footer



\pagebreak

push all changes to GitHub repository

source(file = here::here("R", "force_git.R"))

References



sbalci/histopathology-template documentation built on June 29, 2023, 5:52 a.m.