aba_slice_array: Slice an Allen Brain Atlas ISH Array to return a matrix from...

Description Usage Arguments Value Examples

View source: R/aba.R

Description

Slice an Allen Brain Atlas ISH Array to return a matrix from a single plane.

Usage

1
aba_slice_array(arr, slice, plane = "coronal")

Arguments

arr

The 3-dimensional ISH array to slice

slice

A numeric value for the slice to use.

plane

Which plane to return. Options are "coronal", "saggital", and "horizontal". Default is "coronal"

Value

A 2-dimensional array of ISH values

Examples

1
2
3
4
5
library(dplyr)

pvalb_mat <- aba_find_gene_ids("Pvalb") %>%
  aba_get_energy_array() %>%
  aba_slice_array(42, "coronal")

hypercompetent/xstitch documentation built on July 22, 2019, 10:11 p.m.