Travis build status

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

papayaWidget

The goal of papayaWidget is to include a papaya object in an Rmarkdown document.

See the full docs at http://johnmuschelli.com/papayaWidget.

Installation

You can install the papayaWidget using:

# install.packages("papayaWidget")
devtools::install_github("muschellij2/papayaWidget")

Example

This is a basic example which shows you how to solve a common problem:

library(kirby21.t1)
library(papayaWidget)
library(neurobase)
outdir = tempdir()
download_t1_data(outdir = outdir)
fname = kirby21.t1::get_t1_filenames(outdir = outdir)
fname = fname[1]
img = readnii(fname)
papaya(img)


muschellij2/papayaWidget documentation built on Aug. 20, 2021, 1:55 a.m.