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

ggneuro R package

Travis-CI Build Status AppVeyor Build Status

The goal of ggneuro is to allow users to create plotting functions for nifti objects. The initial impetus was for plotting brain images

Installation

You can install the development version from GitHub with:

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

Example

This is a basic example which shows you how to plot a T1-weighted image

library(kirby21.t1)
library(ggneuro)
library(neurobase)
t1_fname = readnii(get_t1_filenames()[1])
g = ggortho(t1_fname)
class(g)
print(g)
## basic example code

Not sure if plotly will work with this well:

library(plotly)
ggplotly(g)


neuroconductor-devel-releases/ggneuro documentation built on May 6, 2020, 4:25 p.m.