Package 'BiocResourceStats'

Title: What the Package Does (Title Case)
Description: More about what it does (maybe more than one line) Use four spaces when indenting paragraphs within the Description.
Authors: Who wrote it
Maintainer: The package maintainer <[email protected]>
License: What license is it under?
Version: 0.1.1
Built: 2024-11-11 04:28:50 UTC
Source: https://github.com/Bioconductor/BiocResourceStats

Help Index


Hello, World!

Description

Prints 'Hello, world!'.

Usage

hello()

Examples

hello()

Quantify topic occurence in *Hub resources and combine package related resources

Description

Quantify topic occurence in *Hub resources and combine package related resources

Usage

HubHits(topics, pkg_pattern, hub = c("ExperimentHub", "AnnotationHub"))

prop.HubHits(x)

## S3 method for class 'HubHits'
print(x)

Arguments

topics

character() A vector of topics to query ExperimentHub resources with

pkg_pattern

character(1) A pattern to use for searching through packages that expose ExperimentHub resources related to topics

hub

character(1) Either 'ExperimentHub' or 'AnnotationHub' indicating which hub to query resources from

x

HubHits An instance of HubHits as returned by the eponymous constructor function

Value

  • HubHits: A HubHits instance

  • prop.HubHits: The proportion of search hits to all resources in the specified hub

Methods (by generic)

  • print(HubHits):

Functions

  • prop.HubHits():

Examples

if (interactive()) {
et <- HubHits(c("cancer", "tumor"), "curated*", hub = "ExperimentHub")
}
if (interactive()) {
# proportion of hits in all *Hub
prop.HubHits(et)
}
if (interactive()) {
# print HubHits
et
}