Files-class {BaseSpaceR} | R Documentation |
Files
and FilesSummary
objectsClasses and methods to handle the Files resource.
The Files resource provides access to files stored in BaseSpace. A file should be seen as a data stream and associated attributes (date created, size, type, etc.).
Files are associated with specific Runs, Samples, or AppResults and the Files resource provides the interface for manipulating these files.
Adrian Alexa
https://developer.basespace.illumina.com/docs/content/documentation/rest-api/api-reference
AppAuth
, Runs
,
Samples
and AppResults
.
data(aAuth) ## get one AppResult reseq <- AppResults(listAppResults(aAuth, projectId = 21383369, Limit = 1)) f <- listFiles(reseq) TotalCount(f) Name(f) identical(f, listFiles(aAuth, appResultId = Id(reseq))) ## list only the BAM files f <- listFiles(aAuth, appResultId = Id(reseq), Extensions = ".bam") Name(f)