extract functional scans from bids project

func_scans(x, ...)

# S3 method for bids_project
func_scans(
  x,
  subid = ".*",
  task = ".*",
  run = ".*",
  session = ".*",
  modality = "bold",
  full_path = TRUE,
  ...
)

Arguments

x

the bids_project object

...

extra args

Methods (by class)

  • bids_project:

Examples

p <- system.file("inst/extdata/ds001", package="bidser") fs <- func_scans(bids_project(p), subid="sub-0[123]", run="0[123]")
#> Warning: path[1]="": No such file or directory
#> Error in bids_project(p): participants.tsv is missing