Skip to content

Commit

Permalink
Update MAG-related documentation (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
TuomasBorman authored Sep 30, 2024
1 parent c0cbfd8 commit 93728e3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
11 changes: 10 additions & 1 deletion R/getData.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,17 @@
#' res <- getData(
#' type = "genomes", accession.type = "genome-catalogues",
#' accession = catalogues[1, "id"], max.hits = 100)
#' # See the data.
#' head(res)
#'
#' # It includes for instance summary of the CAZy
#' # (Carbohydrate-Active enZymes) annotations as a counts per category
#' cazy <- res[ , grepl("annotations.cazy", colnames(res)), drop = FALSE]
#' head(cazy)
#' # Moreover, it includes a sample list. This sample list represents a
#' # collection of samples where the MAG was identified. Thr data has also the
#' # completeness of MAG in a sample.
#' head(res[ c("metadata.Sample_accession", "metadata.Completeness")])
#'
#' @seealso
#' \code{\link[HoloFoodR:getResult]{getResult}}
#'
Expand Down
9 changes: 9 additions & 0 deletions man/getData.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 93728e3

Please sign in to comment.