Package: neurobase 1.32.4

neurobase: 'Neuroconductor' Base Package with Helper Functions for 'nifti' Objects

Base package for 'Neuroconductor', which includes many helper functions that interact with objects of class 'nifti', implemented by package 'oro.nifti', for reading/writing and also other manipulation functions.

Authors:John Muschelli [aut, cre]

neurobase_1.32.4.tar.gz
neurobase_1.32.4.zip(r-4.5)neurobase_1.32.4.zip(r-4.4)neurobase_1.32.4.zip(r-4.3)
neurobase_1.32.4.tgz(r-4.4-any)neurobase_1.32.4.tgz(r-4.3-any)
neurobase_1.32.4.tar.gz(r-4.5-noble)neurobase_1.32.4.tar.gz(r-4.4-noble)
neurobase_1.32.4.tgz(r-4.4-emscripten)neurobase_1.32.4.tgz(r-4.3-emscripten)
neurobase.pdf |neurobase.html
neurobase/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/muschellij2/neurobase/issues

On CRAN:

87 exports 5 stars 2.69 score 9 dependencies 8 dependents 2 mentions 450 scripts 806 downloads

Last updated 4 months agofrom:b343871251. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 06 2024
R-4.5-winNOTESep 06 2024
R-4.5-linuxNOTESep 06 2024
R-4.4-winOKSep 06 2024
R-4.4-macOKSep 06 2024
R-4.3-winOKSep 06 2024
R-4.3-macOKSep 06 2024

Exports:apply_empty_dimapplyEmptyImageDimensionsbreakercheck_maskcheck_mask_failcheck_nifticheck_nifti_headercheck_outfilecheckimgcheckniicheckniigzcogcolorbarcopyNIfTIHeaderdatatyperdicerdouble_orthodrop_empty_dimdropEmptyImageDimensionsempty_dim_maskemptyImageDimensionsMaskensure_arrayensure_niiensure_nii_gzfast_dicefast_dice_tabfast_readniifile_imgextfinite_imgflip_imgget_empty_dimgetEmptyImageDimensionsimages2matriximg_color_dfimg_colour_dfimg_indicesimg_list_to_tsimg_ts_to_dfimg_ts_to_listimg_ts_to_matrixis_rpi_orientedmask_empty_dimmask_imgmask_valsmask_vals<-maskEmptyImageDimensionsminmax_imgmulti_overlaymulti_overlay_centermulti_overlay_diffnewniiniftiarrnii.stuborient_rpiorient_rpi_fileortho_diffortho2parse_img_extquantile_imgrandom_niftirandomize_maskread_rpireadNIfTI2readniiremake_imgremap_filenamereplace_dropped_dimensionsreplace_empty_dimreplace_outside_surfacereplaceEmptyImageDimensionsrescale_imgreverse_orient_rpireverse_orient_rpi_filerobust_windowsame_dimsseparate_imgslice_colour_dfsubset_dtitempimgwindow_imgwrite_niftiwriteNIfTI2writeniixyzzero_padzlimmerzscore_img

Dependencies:abindbitopsmatrixStatsoro.niftiR.methodsS3R.ooR.utilsRcppRNifti

NIfTI Basics using the Eve atlas

Rendered fromneurobase.Rmdusingknitr::rmarkdownon Sep 06 2024.

Last update: 2021-03-30
Started: 2017-01-31

Simple Image Input/Output

Rendered fromsimple_io.Rmdusingknitr::rmarkdownon Sep 06 2024.

Last update: 2019-09-12
Started: 2019-09-12

The nifti object

Rendered fromnifti_basics.Rmdusingknitr::rmarkdownon Sep 06 2024.

Last update: 2021-03-30
Started: 2016-12-08

Readme and manuals

Help Manual

Help pageTopics
Apply Subsetting from Empty Image DimensionsapplyEmptyImageDimensions applyEmptyImageDimensions,anlz-method applyEmptyImageDimensions,ANY-method applyEmptyImageDimensions,array-method applyEmptyImageDimensions,character-method applyEmptyImageDimensions,factor-method applyEmptyImageDimensions,list-method applyEmptyImageDimensions,nifti-method applyEmptyImageDimensions-methods apply_empty_dim
Boxplot of Values in an Imageboxplot.anlz boxplot.nifti
Find Breaks for nifti Image Plottingbreaker
Check Mask is Binarycheck_mask
Check Mask is Binary, Fail otherwisecheck_mask_fail
Check if nifti image or read in a nifti headercheck_nifti_header check_nifti_header,anlz-method check_nifti_header,ANY-method check_nifti_header,array-method check_nifti_header,character-method check_nifti_header,factor-method check_nifti_header,list-method check_nifti_header,nifti-method check_nifti_header-methods
Check if nifti image or read in a nifti imagecheck_nifti check_nifti,anlz-method check_nifti,ANY-method check_nifti,array-method check_nifti,character-method check_nifti,factor-method check_nifti,list-method check_nifti,nifti-method check_nifti-methods
Check output filenamecheck_outfile
Force object to filenamecheckimg checkimg,ANY-method checkimg,character-method checkimg,list-method checkimg,nifti-method checkimg-methods
Force object to filename with .nii extensionchecknii checknii,ANY-method checknii,character-method checknii,factor-method checknii,list-method checknii,nifti-method checknii-methods ensure_nii
Force object to filename with .nii.gz extensioncheckniigz checkniigz,ANY-method checkniigz,character-method checkniigz,factor-method checkniigz,list-method checkniigz,nifti-method checkniigz-methods ensure_nii_gz
Image Center of Gravitycog
Add a colorbar to an ortho2 objectcolorbar
Copy NIfTI Header to an arraycopyNIfTIHeader
Perform Cut on an imagecut.anlz cut.nifti
Change Data type for imgdatatype datatyper
Density of Values in an Imagedensity.anlz density.nifti
Calculate Dice from a Tabledicer
Double Orthographic Displaydouble_ortho
Drop Empty Image DimensionsdropEmptyImageDimensions drop_empty_dim
Make Mask from Empty Image DimensionsemptyImageDimensionsMask empty_dim_mask
Ensure an array outputensure_array
Fast Dice Tabulationfast_dice fast_dice_tab
Reading NIfTI images through RNiftifast_readnii
Get Image file extensionfile_imgext
Finite Imagefinite_img finite_img,ANY-method finite_img,array-method finite_img,character-method finite_img,list-method finite_img,nifti-method finite_img-methods
Flip NifTI Imageflip_img
Get Empty Image DimensionsgetEmptyImageDimensions get_empty_dim
Histogram of Values in an Imagehist.anlz hist.nifti
Transform set of images to matriximages2matrix
Convert Image to Data.frame with Colorsimg_color_df img_colour_df
Retrieve Image Indicesimg_indices
Image List to Time Seriesimg_list_to_ts
Image Time Series to Data.frameimg_ts_to_df
Image Time Series to listimg_ts_to_list
Image Time Series to Matriximg_ts_to_matrix
Mask Imagemask_img
Extract or Replace Values Inside a Maskmask_vals mask_vals-methods, mask_vals<- mask_vals<-,anlz,ANY,ANY-method mask_vals<-,anlz-method mask_vals<-,array,ANY,ANY-method mask_vals<-,array-method mask_vals<-,nifti,ANY,ANY-method mask_vals<-,nifti-method
Apply Masking from Empty Image DimensionsmaskEmptyImageDimensions maskEmptyImageDimensions,anlz-method maskEmptyImageDimensions,ANY-method maskEmptyImageDimensions,array-method maskEmptyImageDimensions,character-method maskEmptyImageDimensions,factor-method maskEmptyImageDimensions,list-method maskEmptyImageDimensions,nifti-method maskEmptyImageDimensions-methods mask_empty_dim
Mean of Values in an Imagemean.anlz mean.nifti
Normalize Image using Rangeminmax_img minmax_img,ANY-method minmax_img,array-method minmax_img,character-method minmax_img,factor-method minmax_img,list-method minmax_img,nifti-method minmax_img-methods
Create Multi-Image Plot with Overlaysmulti_overlay multi_overlay_center
Resets image parameters for a copied nifti objectnewnii
Make new nifti from arrayniftiarr
Grab nii file stubnamenii.stub
Reorient an Image to RPI orientationis_rpi_oriented orient_rpi orient_rpi_file
Plot differences for Prediction and Gold Standardmulti_overlay_diff ortho_diff
Orthographic Display, added optionsortho2
Parse Image Extensionsparse_img_ext
Create Quantile Imagequantile_img
Sample Quantilesquantile.anlz quantile.nifti
Create Random `nifti` objectrandom_nifti
Randomize Image based on Maskrandomize_mask
Read NIfTI file reoriented to RPIread_rpi
readNIfTI with default non-reorientationreadNIfTI2 readnii
Remake Image from Vectorremake_img
Build Filename (usually for images)remap_filename
Remake Dropped Dimensionsreplace_dropped_dimensions
Replace Values Outside Surface of imagereplace_outside_surface
Replace Subsetting from Empty Image DimensionsreplaceEmptyImageDimensions replaceEmptyImageDimensions,anlz-method replaceEmptyImageDimensions,ANY-method replaceEmptyImageDimensions,array-method replaceEmptyImageDimensions,character-method replaceEmptyImageDimensions,factor-method replaceEmptyImageDimensions,list-method replaceEmptyImageDimensions,nifti-method replaceEmptyImageDimensions-methods replace_empty_dim
Image Rescalerrescale_img
Reverse Reorientation an Image to RPI orientationreverse_orient_rpi reverse_orient_rpi_file
Window image based on quantiles of Imagerobust_window
Check if Objects have Same Dimensionssame_dims
Separate Labeled Image into Multiple Binary Imagesseparate_img separate_img,ANY-method separate_img,array-method separate_img,character-method separate_img,factor-method separate_img,list-method separate_img,nifti-method separate_img-methods
Slice a Image Color Data.frameslice_colour_df
Subset DTI data based on b-values #'subset_dti subset_dti,ANY-method subset_dti,character-method subset_dti,list-method subset_dti,nifti-method subset_dti-methods
Create temporary nii.gz filetempimg
nifti image windowerwindow_img
General NIfTI Writerwrite_nifti
writeNIfTI with default non-reorientationwriteNIfTI2 writenii
Image Center of Gravity Wrapperxyz
Zero pads an imagezero_pad
Find Image z-limitszlimmer
Get Z-score over a margin of an imgzscore_img