GetIMPath: Quick image name finding

View source: R/GetIMPath.R

GetIMPathR Documentation

Quick image name finding

Description

Get MX image name(s) given its coordinates

Usage

GetIMPath(
  SERVER = "MDCStore",
  ID = "moldev",
  PWD = "moldev",
  PlateID,
  WellID,
  SiteID,
  TimePoint = 1,
  Z = 1,
  Unix.diff = c("//", "/media/")
)

Arguments

SERVER

the odbc connexion to MDCStore database

ID

the identifiant for connexion

PWD

the password for connexion

PlateID

the Plate Identifier

WellID

the Well Identifier

SiteID

a vector of 2 integers showing x and y site positions. If only one site present, x and y equal 0

TimePoint

From what timepoint the image name should be returned. Default is 1.

Z

The Z position of the image. Default is 1, value if no stacks is recorded. 0 for max projection, if recorded

Unix.diff

the string replacement for the mounting point of UNC image location, when accessed from linux machine

Value

A string array containing full image names

Author(s)

Allan Sauvat, allan.sauvat@gustaveroussy.fr

See Also

GetMDCInfo

Examples

#Not running
DB = GetMDCInfo(SERVER = 'MDCStore',ID = 'sa', PWD = '***') 
UniqueIDs=DB$MeasurementID[grep(paste0(1500:1515,collapse='|'),DB$PlateID)]) #Get uniquesIDs from plate 1500 to 1515
MyData = lapply(UniqueIDs,function(x)GetMDCData(SERVER='YODA-SERVER',MeasurementID=x)) #Create a list that contains cellular data from each plate


asauvat/MetaxpR documentation built on July 19, 2023, 1:04 p.m.