## We will get a small dataset
myDataset <- flowRep.get("FR-FCM-ZZJ7")
summary(myDataset)
## And download a single attachment file
## mainly just to demonstrate that one can do one file at a time.
att1 <- download(attachments(myDataset)[[1]])
localpath(att1)
## We can also find out about individual FCS file proxies
summary(fcs.files(myDataset)[[1]])
## A single FCS file proxy can be downloaded
fcs1 <- download(fcs.files(myDataset)[[1]])
summary(fcs1)
## The file is downloaded to your home directory
localpath(fcs1)
## The code above is just to demonstrate that it is
## possible to get individial files. However, typically,
## we will want to download the whole dataset.
myDataset <- download(myDataset)
summary(myDataset)
## This downloaded all the files to your home directory
## This is where you find your data
unlist(lapply(fcs.files(myDataset), function(x) paste(localpath(x))))
## And this is where you find the attachments of that dataset
unlist(lapply(attachments(myDataset), function(x) paste(localpath(x))))
Run the code above in your browser using DataLab