View source: R/infer_biocviews.R
infer_biocviews | R Documentation |
Infer the best terms to fill the biocViews
field in
your DESCRIPTION file based on the code within your R package.
By default, also includes any biocViews
that are already present in
the DESCRIPTION file.
Please see the
Bioconductor website for more details.
infer_biocviews(
pkgdir = here::here(),
branch = c("Software", "AnnotationData", "ExperimentData")[1],
type = c("recommended", "current", "remove"),
keep_current = TRUE,
include_branch = TRUE,
biocviews = NULL,
add_newlines = FALSE,
verbose = TRUE
)
pkgdir |
The path of the package Directory. |
branch |
The branch which your package will belong to. It can be either 'Software', 'AnnotationData' or 'ExperimentData'. |
type |
Which element of the recommendBiocViews results list to return. If a vector is supplied, only the first value will be used. |
keep_current |
Keep any |
include_branch |
Whether to include the |
biocviews |
User-supplied |
add_newlines |
Prefix each package name with a newline character and two spaces. This is useful for formatting DESCRIPTION files. |
verbose |
Print messages. |
A character vector of biocviews.
## Don't run simply bc biocViews::recommendBiocViews is unable
## to find the DESCRIPTION file when running examples.
## Not run:
biocviews <- infer_biocviews()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.