bwValid {CAGEfightR} | R Documentation |
Checks if a BigWigFile or BigWigFileList is composed of readable files with the proper .bw extension.
bwValid(object) ## S4 method for signature 'BigWigFile' bwValid(object) ## S4 method for signature 'BigWigFileList' bwValid(object)
object |
BigWigFile or BigWigFileList |
TRUE, if any tests fails an error is raised.
Other BigWig functions: bwCommonGenome
,
bwGenomeCompatibility
# Use the BigWig-files included with the package: data('exampleDesign') bw_plus <- system.file('extdata', exampleDesign$BigWigPlus, package = 'CAGEfightR') # Create a named BigWigFileList-object with names bw_plus <- BigWigFileList(bw_plus) names(bw_plus) <- exampleDesign$Name # Check a single BigWigFile: bwValid(bw_plus[[1]]) # Check the entire BigWigFileList: bwValid(bw_plus)