FilesExtra: High-level methods for 'Files' objects and related

Description Details Author(s) References See Also Examples

Description

Methods to handle various files types.

Details

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.).

For known file types (.bam, .vcf, etc.) we offer wrappers to 'map' this objects to various Bioconductor objects.

Author(s)

Adrian Alexa

References

https://developer.basespace.illumina.com/docs/content/documentation/rest-api/api-reference

See Also

AppAuth, AppResults and Files

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
data(aAuth)


## get one AppResult
reseq <- AppResults(listAppResults(aAuth, projectId = 21383369, Limit = 1))

f <- listFiles(reseq)
TotalCount(f)
Name(f)

## list only the BAM files
f <- listFiles(aAuth, appResultId = Id(reseq), Extensions = ".bam")
Name(f)

## construct the BAMFile
##...

BaseSpaceR documentation built on Nov. 8, 2020, 5:12 p.m.