Pairwise
formatBlast.Rd
BLAST results are a fundamental unit of basic comparative genomics. This R6 object has been implemented for the systematic exploration of BLAST results within the scope of the Lodestar project.
floundeR::FloundeR
-> Blast
blast_file
the file.path to the query BLAST results file
new()
Creates a new Blast object. This initialisation method performs other sanity checking of the defined file(s) to ensure that it is indeed parseable and creates the required data structures.
Blast$new(blast_file)
blast_file
The source sequencing_summary file.
A new Blast
object.
blast_results <- flnDr("drosophila_uniref100.blastx.gz") blast <- Blast$new(blast_file=blast_results)
count()
Return the number of BLAST results that are contained within the BLAST file provided.
Blast$count()
clone()
The objects of this class are cloneable with this method.
Blast$clone(deep = FALSE)
deep
Whether to make a deep clone.
## ------------------------------------------------ ## Method `Blast$new` ## ------------------------------------------------ blast_results <- flnDr("drosophila_uniref100.blastx.gz") blast <- Blast$new(blast_file=blast_results) #> Error in .check_path("blast_file", blast_file): path [/tmp/Rtmpqr71Kn/temp_libpath14ba6f8cb076/floundeR/extdata/NA] does not exist