corpus_size | R Documentation |
Obtains the size of a certain number of predefined corpora. The total size of a corpus is important for calculating term frequencies. That is, for a given corpus, the possible range for any term frequency is between 0 and the corpus size.
corpus_size(
corpus = c("taxon-annotations", "taxon-variation", "annotated-taxa",
"gene-annotations", "genes", "states")
)
corpus |
the name of the corpus, see |
Corpus sizes are cached per session after they have first been obtained. Thus, if the Phenoscape KB changes, a session needs to be restarted to have those changes be reflected.
The total size of the specified corpus as an integer number.
corpus_size("taxon-variation")
corpus_size("annotated-taxa")
corpus_size("states")
corpus_size("genes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.