R/FNTD.analyze.R

Defines functions FNTD.analyze

FNTD.analyze <- function(sampleID, image.file.path, options.file.path){
    J("fntd/interfaces/R")$Analyze(sampleID,
                                   image.file.path, 
                                   options.file.path) 
  
    df.tracks <- read.csv(file.path(dirname(image.file.path), 
                                    paste0(sampleID, "_dfTracks.csv")),
                          header = TRUE)
    df.trackspots <- read.csv(file.path(dirname(image.file.path), 
                                    paste0(sampleID, "_dfTrackspots.csv")),
                          header = TRUE)
    df.trackspots.raw <- read.csv(file.path(dirname(image.file.path), 
                                    paste0(sampleID, "_dfTrackspotsRaw.csv")),
                          header = TRUE)
    return(list(df.tracks = df.tracks,
                df.trackspots = df.trackspots,
                df.trackspots.raw = df.trackspots.raw))
}
FNTD/R-package documentation built on Oct. 18, 2017, 12:59 p.m.