Description Usage Arguments Value See Also Examples
View source: R/yoshi_behav_functions.R
Find all the Yoshi behaviour tiffs in a directory hierarchy
1 | find_ybr_tiffs(path = ".", recursive = TRUE, full.names = TRUE)
|
path |
a character vector of full path names; the default
corresponds to the working directory, |
recursive |
logical. Should the listing recurse into directories? |
full.names |
a logical value. If |
A data.frame containing information about the identified tiffs
Other read_ybr:
read_ybr_summary()
,
read_ybr_tiff()
,
read_ybr_xy()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | find_ybr_tiffs(system.file("ybr_tiffs", package='flywatch'))
## Not run:
## Make some plots for all the experiments in a directory
tiffdf=find_ybr_tiffs("/path/to/my/flydata")
for(i in 1:nrow(tiffdf)){
intiff=tiffdf[i,'tiff']
outpdf=paste0(basename(dirname(intiff)),'.pdf')
pdf(outpdf)
plot_smoothed_displacement(intiff)
dev.off()
cat(".")
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.