Package: fslr 2.25.3

fslr: Wrapper Functions for 'FSL' ('FMRIB' Software Library) from Functional MRI of the Brain ('FMRIB')

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 objects of class 'nifti', implemented by package 'oro.nifti', and the function executes an 'FSL' command and returns an R object of class 'nifti' if desired.

Authors:John Muschelli [aut, cre]

fslr_2.25.3.tar.gz
fslr_2.25.3.zip(r-4.5)fslr_2.25.3.zip(r-4.4)fslr_2.25.3.zip(r-4.3)
fslr_2.25.3.tgz(r-4.4-any)fslr_2.25.3.tgz(r-4.3-any)
fslr_2.25.3.tar.gz(r-4.5-noble)fslr_2.25.3.tar.gz(r-4.4-noble)
fslr_2.25.3.tgz(r-4.4-emscripten)fslr_2.25.3.tgz(r-4.3-emscripten)
fslr.pdf |fslr.html
fslr/json (API)
NEWS

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

Peer review:

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

On CRAN:

fslfslrneuroimagingneuroimaging-analysisneuroimaging-data-science

282 exports 41 stars 3.20 score 10 dependencies 1 dependents 3 mentions 420 scripts 496 downloads

Last updated 4 months agofrom:049b4e0386. 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_topupapplytopupaux.fileavscalebitpixcal.maxcal.mincheck_filecheckoutconcat_xfmdata_typedatatypedeface_imagedescripdim_dtifiteddyeddy_correctenforce_formepi_regface_removal_maskfastfast_allfast_nobiasfast_nobias_allfast.helpfixscaleskew_xfmflirtflirt_applyflirt.helpfnirtfnirt_with_affinefnirt_with_affine_applyfnirt.helpfsl_absfsl_acosfsl_addfsl_anatfsl_anat.helpfsl_andfsl_applytopupfsl_applywarpfsl_applywarp.helpfsl_asinfsl_atanfsl_atlas_dirfsl_avscalefsl_betfsl_biascorrectfsl_binfsl_bin_tabfsl_binvfsl_clusterfsl_cosfsl_data_dirfsl_defacefsl_dicefsl_dilatefsl_dirfsl_divfsl_edgefsl_epi_regfsl_erodefsl_expfsl_fastfsl_fast_nobiasfsl_fillfsl_indexfsl_logfsl_maskfsl_mathsfsl_mergefsl_mulfsl_nanfsl_nanmfsl_orfsl_randfsl_randnfsl_recipfsl_remfsl_resamplefsl_robustfovfsl_roifsl_slicetimerfsl_smoothfsl_smooth_in_maskfsl_smoothestfsl_splitfsl_sqrfsl_sqrtfsl_std_dirfsl_std_filefsl_subfsl_sub2fsl_swapdimfsl_tanfsl_threshfsl_topupfsl_tsplotfsl_tsplot.helpfsl_versionfsl_version_gt5fsl_xorfslabsfslabs.helpfslacosfslacos.helpfsladdfsladd.helpfslandfslasinfslasin.helpfslatanfslatan.helpfslbetfslbet.helpfslbinfslbin.helpfslbinvfslbinv.helpfslchfiletypefslchfiletype.helpfslclusterfslcmdfslcogfslcosfslcos.helpfslcpgeomfslcpgeom.helpfsldilatefsldirfsldivfsldiv.helpfsledgefsledge.helpfslentropyfslepi_regfslerodefslerode.helpfslexpfslexp.helpfsleyesfslfastfslfast_nobiasfslfillfslfill.helpfslfill2fslgetorientfslgetqformfslgetqformcodefslgetsformfslgetsformcodefslhdfslhd.helpfslhd.parsefslhelpfslindexfslindex.helpfsllogfsllog.helpfslmaskfslmask.helpfslmathsfslmaths.helpfslmaxfslmeanfslmergefslmerge.helpfslminfslmulfslmul.helpfslnanfslnan.helpfslnanmfslnanm.helpfslorfslorientfslorient.helpfslrandfslrand.helpfslrandnfslrandn.helpfslrangefslrecipfslrecip.helpfslremfslrem.helpfslreorient2stdfslreorient2std_matfslreorient2std.helpfslrobustfovfslrobustfov.helpfslroifslroi_timefslsdfslsinfslsin.helpfslslicetimerfslsmoothfslsmooth_in_maskfslsmooth.helpfslsplitfslsplit.helpfslsqrfslsqr.helpfslsqrtfslsqrt.helpfslstatsfslstats.helpfslsubfslsub.helpfslsub2fslsub2.helpfslsumfslswapdimfslswapdim.helpfsltanfsltan.helpfslthreshfslthresh.helpfslvalfslval.helpfslversionfslviewfslview.helpfslvolfslvolumefslxorget_fslget_mridefacer_maskget_quickshear_maskget.fslget.fsloutputget.imgextgetFormshave_fslhave.fslintent_codeintent_nameintent_p1intent_p2intent_p3invert_xfmis_rpiis.rpimagicmcflirtmcflirt.helpmelodicmelodic.helpmid_sagittal_alignmni_face_fnamemni_fnamemni_imgmridefacerparse_avscaleprobtrackxqform_codequickshear_deface_imageread_cluster_tableread_xfmreadrpireverse_rpi_orientreverse_rpi_orient_filerpi_orientrpi_orient_filerun_first_allrun_first_all.helpscl_interscl_slopesform_codesizeof_hdrslice_codeslice_durationslice_endslice_startsusansusan.helptoffsettopupvox_offsetxfibres

Dependencies:abindbitopsmatrixStatsneurobaseoro.niftiR.methodsS3R.ooR.utilsRcppRNifti

DTI Data in fslr

Rendered fromdti_data.Rmdusingknitr::rmarkdownon Sep 06 2024.

Last update: 2022-08-25
Started: 2016-08-24

Working with Data in fslr

Rendered fromfslr.Rmdusingknitr::rmarkdownon Sep 06 2024.

Last update: 2017-12-07
Started: 2014-06-12

Readme and manuals

Help Manual

Help pageTopics
applytopup - calling FSL applytopupapplytopup apply_topup fsl_applytopup
Extract Image aux.file attributeaux.file,character-method aux.file-methods
Extract Image bitpix attributebitpix,character-method bitpix-methods
Extract Image cal.max attributecal.max,character-method cal.max-methods
Extract Image cal.min attributecal.min,character-method cal.min-methods
Wrapper for getForms with filenamecheck_file
Determine of Q and S forms are consistentcheckout
Extract Image data_type attributedata_type,character-method data_type-methods
Extract Image datatype attributedatatype,character-method datatype-methods
Extract Image descrip attributedescrip,character-method descrip-methods
Extract Image dim_ attributedim_,character-method dim_-methods
Download FSLdownload_fsl
DTI Fitting Procedure from FSLdtifit
Eddy Current Correctioneddy
Eddy Current Correctioneddy_correct
Enforce Either Qform or Sform is setenforce_form
Face Removal Maskdeface_image face_removal_mask
FSL FASTfast fast_all fast_nobias fast_nobias_all fslfast fslfast_nobias fsl_fast fsl_fast_nobias
FAST helpfast.help
Register using FLIRTflirt
Apply Warp from FLIRTflirt_apply
FLIRT helpflirt.help flirt_apply.help
Register using FNIRTfnirt
Register using FNIRT, but doing Affine Registration as wellfnirt_with_affine
Applies FLIRT then FNIRT transformationsfnirt_with_affine_apply
FNIRT helpfnirt.help
Absolute Value Image using FSLfslabs fsl_abs
Arc Cosine Transform Image using FSLfslacos fsl_acos
Add Images using FSLfsladd fsl_add
FSL Anatomical Processing Scriptfsl_anat
fsl_anat helpfsl_anat.help
Apply Warp from FNIRTfsl_applywarp
FSL applywarp helpfsl_applywarp.help
Arc Sine Transform Image using FSLfslasin fsl_asin
Arc Tangent Transform Image using FSLfslatan fsl_atan
Get FSL's Standard Data Directoryfsl_atlas_dir
Scale Affine Matrix using 'avscale'avscale fsl_avscale
Use FSL's Brain Extraction Tool (BET)fslbet fsl_bet
FSL Bias Correctfsl_biascorrect
Binarize Image using FSLfslbin fsl_bin
Quick Tabulation for logical imagesfsl_bin_tab
Binarized Inverse Image using FSLfslbinv fsl_binv
Form clusters, report information about clusters and/or perform cluster-based inference. Wrapper for 'cluster'fslcluster fsl_cluster read_cluster_table
Cosine Transform Image using FSLfslcos fsl_cos
Get FSL's Data Directoryfsl_data_dir
Tool to deface a structural T1w image.fsl_deface
Calculate Dice Coefficient of 2 Binary imagesfsl_dice
Dilate image using FSLfsldilate fsl_dilate
Divide Images using FSLfsldiv fsl_div
Edge Strength Image using FSLfsledge fsl_edge
Erode image using FSLfslerode fsl_erode
Exponentiate Image using FSLfslexp fsl_exp
Fill image holesfslfill fsl_fill
Index Image using FSLfslindex fsl_index
Log Transform Image using FSLfsllog fsl_log
Mask image using FSLfslmask fsl_mask
FSL Mathsfslmaths fsl_maths
Merge images using FSLfslmerge fsl_merge
Multiply Images using FSLfslmul fsl_mul
Replace NaNs in Image using FSLfslnan fsl_nan
Mask NaNs in Image using FSLfslnanm fsl_nanm
Add Random Uniform Noise Image using FSLfslrand fsl_rand
Add Random Standard Gaussian Noise Image using FSLfslrandn fsl_randn
Reciprocal Image using FSLfslrecip fsl_recip
Modulus Remainder of 2 Images using FSLfslrem fsl_rem
Resample an Image to Specific Voxel Sizefsl_resample
Gaussian smooth image using FSLfslsmooth fsl_smooth
Smoothness Estimation using 'smoothest'fsl_smoothest
Square Image using FSLfslsqr fsl_sqr
Square Root Image using FSLfslsqrt fsl_sqrt
Get FSL's Standard Data Directoryfsl_std_dir fsl_std_file
Subtract Images using FSLfslsub fsl_sub
Subsample image by factor of 2fslsub2 fsl_sub2
FSL Swap Dimensionsfslswapdim fsl_swapdim
Tangent Transform Image using FSLfsltan fsl_tan
Threshold an imagefslthresh fsl_thresh
FSL Timeseries Plot using `fsl_tsplot` (not `tsplot`)fsl_tsplot fsl_tsplot.help
Find FSL Versionfslversion fsl_version fsl_version_gt5
fslabs Helpfslabs.help
fslacos Helpfslacos.help
fsladd Helpfsladd.help
Logical AND with Images using FSLfsland fsl_and
fslasin Helpfslasin.help
fslatan Helpfslatan.help
Help for FSL BETfslbet.help
fslbin Helpfslbin.help
fslbinv Helpfslbinv.help
FSL Change file typefslchfiletype
fslchfiletype helpfslchfiletype.help
FSL Command Wrapperfslcmd
Image Center of Gravity (FSL)fslcog
fslcos Helpfslcos.help
FSL Copy Geometryfslcpgeom
fslcpgeom helpfslcpgeom.help
Get FSL's Directoryfsldir fsl_dir
fsldiv Helpfsldiv.help
fsledge Helpfsledge.help
Image Mean Entropyfslentropy
Register EPI images to Structural imageepi_reg fslepi_reg fsl_epi_reg
fslerode Helpfslerode.help
fslexp Helpfslexp.help
fslfill Helpfslfill.help
Fill image holes with dilation then erosionfslfill2
FSL Orientation Wrappersfslgetorient fslgetqform fslgetqformcode fslgetsform fslgetsformcode
Get NIfTI header using FSLfslhd
FSLhd helpfslhd.help
Parse FSL Headerfslhd.parse
Wrapper for getting fsl helpfslhelp
fslindex Helpfslindex.help
fsllog Helpfsllog.help
fslmask Helpfslmask.help
FSL Maths Helpfslmaths.help
Get min/max of an imagefslmax fslmin
Image Meanfslmean
FSLMerge helpfslmerge.help
fslmul Helpfslmul.help
fslnan Helpfslnan.help
fslnanm Helpfslnanm.help
Perform OR/Union operation on Images using FSLfslor fsl_or
FSL Orientfslorient
fslorient helpfslorient.help
Wrapper for FSL Get Orientationfslorienter
fslrand Helpfslrand.help
fslrandn Helpfslrandn.help
Get range of an imagefslrange
fslrecip Helpfslrecip.help
fslrem Helpfslrem.help
FSL Orient to MNIfslreorient2std fslreorient2std_mat
fslreorient2std helpfslreorient2std.help
FSL Robust Field of Viewfslrobustfov fsl_robustfov
FSL Robust Field of View Helpfslrobustfov.help
FSL ROIfslroi fslroi_time fsl_roi
Image Standard Deviationfslsd
Sine Transform Image using FSLfslsin
fslsin Helpfslsin.help
FSL Slice Timing Correctionfslslicetimer fsl_slicetimer
Smooth Image Within a Mask Onlyfslsmooth_in_mask fsl_smooth_in_mask
fslsmooth Helpfslsmooth.help
Split images using FSLfslsplit fsl_split
FSL Split helpfslsplit.help
fslsqr Helpfslsqr.help
fslsqrt Helpfslsqrt.help
FSL Statsfslstats
FSL Stats Helpfslentropy.help fslmean.help fslrange.help fslsd.help fslstats.help
fslsub Helpfslsub.help
fslsub2 Helpfslsub2.help
FSL Sumfslsum
fslswapdim helpfslswapdim.help
fsltan Helpfsltan.help
fslthresh Helpfslthresh.help
Get value from FSL headerfslval
fslval helpfslval.help
Open image in FSLViewfsleyes fslview
FSLView helpfslview.help
FSL Volume in mL (or cubic centimeters)fslvol
Image Volumefslvolume
Perform XOR/Exclusive Or operation on Images using FSLfslxor fsl_xor
Face Removal Mask using "Quickshear Defacing for Neuroimages" (Schimke et al. 2011)get_quickshear_mask quickshear_deface_image
Create command declaring FSLDIRget.fsl get_fsl
Determine FSL output typeget.fsloutput
Determine extension of image based on FSLOUTPUTTYPEget.imgext
Get Q and S Forms of orientation matrixgetForms
Logical check if FSL is accessiblehave.fsl have_fsl
Extract Image intent_code attributeintent_code,character-method intent_code-methods
Extract Image intent_name attributeintent_name,character-method intent_name-methods
Extract Image intent_p1 attributeintent_p1,character-method intent_p1-methods
Extract Image intent_p2 attributeintent_p2,character-method intent_p2-methods
Extract Image intent_p3 attributeintent_p3,character-method intent_p3-methods
Convert a Transformationconcat_xfm fixscaleskew_xfm invert_xfm
Extract Image magic attributemagic,character-method magic-methods
FSL Motion Correctionmcflirt
MCFLIRT helpmcflirt.help
Run MELODIC ICAmelodic
MELODIC helpmelodic.help
Mid-Sagittal Plane Alignmentmid_sagittal_align
Construct MNI Filenamemni_face_fname mni_fname
Read MNI Filenamemni_img
MRI Defacerget_mridefacer_mask mridefacer
Parse output from 'avscale'parse_avscale
Extract Image pixdim attributepixdim,character-method pixdim-methods
Probabilistic diffusion tractography with multiple fibre orientationsprobtrackx
Extract Image qform_code attributeqform_code,character-method qform_code-methods
Extract NIfTI 3D Image Orientationqform,character qform,character-method sform,character sform,character-method
Read FSL Transformationread_xfm
Read NIfTI file reoriented to RPIreadrpi
Reverse Reorientation an Image to RPI orientationreverse_rpi_orient reverse_rpi_orient_file
Reorient an Image to RPI orientationis.rpi is_rpi rpi_orient rpi_orient_file
Run FIRST Allrun_first_all
Run FIRST All Helprun_first_all.help
Extract Image scl_inter attributescl_inter,character-method scl_inter-methods
Extract Image scl_slope attributescl_slope,character-method scl_slope-methods
Extract Image sform_code attributesform_code,character-method sform_code-methods
Extract Image sizeof_hdr attributesizeof_hdr,character-method sizeof_hdr-methods
Extract Image slice_code attributeslice_code,character-method slice_code-methods
Extract Image slice_duration attributeslice_duration,character-method slice_duration-methods
Extract Image slice_end attributeslice_end,character-method slice_end-methods
Extract Image slice_start attributeslice_start,character-method slice_start-methods
FSL SUSAN noise reductionsusan
FSL SUSAN Helpsusan.help
Extract Image toffset attributetoffset,character-method toffset-methods
topup - calling FSL topupfsl_topup topup
Extract Image vox_offset attributevox_offset,character-method vox_offset-methods
Bayesian Estimation of Diffusion Parameters Obtained using Sampling Techniques with Crossing Fibersbedpostx xfibres