I am trying to read in a gating template I created (.csv) using the following commands, however I am hit with an error.
gtFile<-system.file("/Users/justinyi/Desktop/gating_template.csv",package="openCyto")
gt_tcell<-gatingTemplate(gtFile, verbose = TRUE)
Input contains a \n (or is ""). Taking this to be text input (not a filename)
Input ends before any \r or \n observed. Input will be treated as a single data row.
Positioned on line 1 after skip or autostart
This line is blank. Moving to the next non-blank ...
Error in fread(x, ...) :
Input is either empty or fully whitespace after the skip or autostart. Run again with verbose=TRUE.
How do I resolve this?
I hit the same snag. Any solution?