Loop function to observe a "hot" folder.

Share:

Description

Sets a folder to constantly scan for new files. New files will be moved to a new subfolder of the same name and MaxQuant analysis is started. For proper usage this function requires a working MaxQuant installation on the system. In the initial run folder.observe will ask for the system path to MaxQuant and a useable fasta database. The database has to be configured in the used MaxQuant distribution, otherwise folder.observe will return an error message and stops the analysis.

Usage

1
folder.observe(folder = NULL, fun = mqStarter, temp.name = "test")

Arguments

folder

Folder to be observed. If NULL it will be asked for the path.

fun

Function to execute on detected files. Default is mqStarter function.

temp.name

Name of mqqc specific file to track observed files. Currently unused.

Author(s)

Henrik Zauber

See Also

start.qc

Examples

1
# folder.observe()