get_image_filenames_df {kirby21.base}R Documentation

Get Image Filenames in a data.frame

Description

Return a data.frame of filenames for the images

Usage

get_image_filenames_df(
  ids = get_ids(),
  modalities = all_modalities(),
  visits = c(1, 2),
  long = TRUE,
  warn = TRUE,
  outdir = NULL
)

get_image_filenames_matrix(...)

get_image_filenames_list(...)

get_image_filenames_list_by_visit(...)

get_image_filenames_list_by_subject(...)

Arguments

ids

ID to return

modalities

vector of image modalities within c("FLAIR", "MPRAGE", "T2w", "fMRI", "DTI") to return

visits

Vector of scan indices to return (1 or 2 or both)

long

if TRUE, each row is a subject, visit, modality pair

warn

if TRUE, warnings will be produced when packages are not installed

outdir

output directory for files to download. It will default to the directory of the corresponding package for the data.

...

arguments passed to get_image_filenames_df

Value

Data.frame of filenames

Examples

get_image_filenames_df()
get_image_filenames_matrix()  
get_image_filenames_list()   
get_image_filenames_list_by_visit()    
get_image_filenames_list_by_subject()     

[Package kirby21.base version 1.7.3 Index]