Description Usage Details Methods (by generic) Slots See Also Examples
An S4 class that that serves as the top-level container for data parsed from NCBI BLAST XML output. It contains the following top-level components:
BlastHeader
BlastParameters
QueryList
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | ## S4 method for signature 'BlastReport'
getHeader(x, ...)
## S4 method for signature 'BlastReport'
getParams(x)
## S4 method for signature 'BlastReport'
getQuery(x, i, drop = TRUE)
## S4 method for signature 'BlastReport'
getHit(x, i, drop = TRUE)
## S4 method for signature 'BlastReport'
nhits(x)
## S4 method for signature 'BlastReport'
getQueryNum(x)
## S4 method for signature 'BlastReport'
getQueryID(x)
## S4 method for signature 'BlastReport'
getQueryDef(x)
## S4 method for signature 'BlastReport'
getQueryLen(x)
## S4 method for signature 'BlastReport'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'BlastReport'
x[[i, j, ...]]
## S4 method for signature 'BlastReport'
is.na(x)
## S4 method for signature 'BlastReport'
show(object)
|
The Query elements store results from individual
BLAST queries. Each Query holds a HitList
with possibly multiple Hits, which, in turn, can
contain multiple high-scoring pairs (Hsps).
Queries, Hits, and Hsps can be extracted using the accessors
getQuery, getHit, and getHsp,
or by directly subsetting a BlastReport object.
E.g. report[[1]][[1]] will return the first hit in the first query.
The show methods for various blast objects can be modified by
a number of global options. Specifically, the number of
Hits shown when displaying
Querys or HitLists are set
by showHits. Whether alignments are displayed or not is controlled
by showAlignment. Setting these options to NULL, restores
the defaults.
See the general documentation of show method for
the expected behavior.
getHeader: Return BlastHeader.
getParams: Return BlastParameters.
getQuery: Return Query or
QueryList.
getHit: Return a list of HitLists.
nhits: Returns the numbers of hits; <numeric>.
getQueryNum: Return query numbers; <integer>.
getQueryID: Return query IDs; <character>.
getQueryDef: Return query definitions; <character>.
getQueryLen: Return query lengths; <integer>.
[: Subset to return an QueryList.
[[: Subset to return an Query.
is.na: Indicate missing Querys.
show:
headerHeader information; BlastHeader.
paramsBlast parameters and statistics BlastParameters.
queriesQueries; QueryList.
The constructor blastReport; the BLAST classes
BlastReportDB and BlastTable
1 2 3 4 | # options("showHits" = 20)
# show(hitlist)
# options("showHits" = NULL)
# show(hitlist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.