Learn R Programming

⚠️There's a newer version (2.25.3) of this package.Take me there.

fslr (version 1.1)

Wrapper functions for FSL (FMRIB Software Library) from Functional MRI. of the Brain (FMRIB)

Description

Wrapper functions that interface with FSL (http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/), a powerful and commonly-used neuroimaging software, using system commands. The goal is to be able to interface with FSL completely in R, where you pass R nifti objects and the function executes an FSL command and returns an R nifti object if desired.

Copy Link

Version

Install

install.packages('fslr')

Monthly Downloads

746

Version

1.1

License

GPL-2

Maintainer

John Muschelli

Last Published

July 31st, 2014

Functions in fslr (1.1)

check_nifti

Check if nifti image or read in
Get FSLDir

Get FSL's Directory
cal_img

Set Max/Min for nifti object by range of data
fslfill

Fill image holes
zscore_img

Get Z-score over a margin of an img
newnii

Resets image parameters for a copied nifti object
melodic.help

MELODIC help
fslval

Get value from FSL header
fslbin

Binarize Image using FSL
fslhd

Get NIfTI header using FSL
fslstats.help

FSL Stats Help
checkout

Determine of Q and S forms are consistent
fslmaths.help

FSL Maths Help
fslview

Open image in FSLView
rescale_img

Image Rescaler
melodic

Run MELODIC ICA
fslbet

Use FSL's Brain Extraction Tool (BET)
have.fsl

Logical check if FSL is accessible
fslthresh

Threshold an image
fslrange

Get range of an image
nii.stub

Grab nii file stubname
fslsmooth

Gaussian smooth image using FSL
fslview.help

FSLView help
fslmask

Mask image using FSL
fslmaths

FSL Maths
get.fsl

Get FSL's Location
getForms

Get Q and S Forms of orientation matrix
fslhd.help

FSLhd help
fslhelp

Wrapper for getting fsl help
flirt.help

FLIRT help
fslstats

FSL Stats
fslerode

Erode image using FSL
fslhd.parse

Parse FSL Header
voxdim

Gets Voxel Dimensions
check_file

Wrapper for getForms with filename
tempimg

Create temporary nii.gz file for FSL
fslsub2

Subsample image by factor of 2
fslval.help

fslval help
get.fsloutput

Determine FSL output type
get.imgext

Determine extension of image based on FSLOUTPUTTYPE
zero_trans

Change intercept to 0 and slope to 1
fslbet.help

Help for FSL BET
flirt

Register using FLIRT
checkimg

Check if filename is character or nifti object
datatype

Change Data type for img
fslmerge.help

FSLMerge help
fslmerge

Merge images using FSL