makeList {patternize} | R Documentation |
Build list of landmarks or RasterStacks from images using filepath and file extension.
Description
Build list of landmarks or RasterStacks from images using filepath and file extension.
Usage
makeList(
IDlist,
type,
prepath = NULL,
extension = NULL,
format = "imageJ",
tpsFile = NULL,
skipLandmark = NULL
)
Arguments
IDlist |
List of sample IDs. |
type |
'landmark' or 'image' depending on what type of list to make. |
prepath |
Prepath (default = NULL). |
extension |
Extension (default = NULL). |
format |
ImageJ (Fiji) or tps format (default = 'imageJ'). |
tpsFile |
Provide filename of tps file ff format is 'tps'. |
skipLandmark |
Vector of rownumbers of landmarks to skip. |
Value
Landmark or RasterStack list.
Examples
IDlist <- c('BC0077','BC0071','BC0050','BC0049','BC0004')
prepath <- system.file("extdata", package = 'patternize')
extension <- '_landmarks_LFW.txt'
landmarkList <- makeList(IDlist, 'landmark', prepath, extension)
extension <- '.jpg'
imageList <- makeList(IDlist, 'image', prepath, extension)
[Package patternize version 0.0.5 Index]