R/data.R

#' A set of example genes.
#'
#' Genes for example purposes only.
#'
#' @format A data frame with 72 rows and six variables:
#' \describe{
#'   \item{molecule}{the genome}
#'   \item{gene}{the name of the gene}
#'   \item{start}{the start position of the gene}
#'   \item{end}{the end position of the gene}
#'   \item{strand}{the strand of the gene}
#'   \item{orientation}{the orientation of the gene}
#' }
#' 
#' example_subgenes (143 rows) also contains:
#' \describe{
#'   \item{subgene}{the name of the subgene}
#'   \item{from}{the start position of the subgene segment}
#'   \item{to}{the end position of the subgene segment}
#' }
"example_genes"

#' A set of example dummy alignment genes.
#'
#' Dummy genes, similar to those generated with `make_alignment_dummies()`, for
#' example purposes only.
#'
#' @format A data frame with eight rows and three variables:
#' \describe{
#'   \item{molecule}{the genome}
#'   \item{start}{the start position of the dummy}
#'   \item{end}{the end position of the dummy}
#'   \item{gene}{the name of the dummy gene}
#' }
"example_dummies"

#' @rdname example_genes
"example_subgenes"

#' A set of example genetic features.
#'
#' Genetic features for example purposes only.
#'
#' @format A data frame with 23 rows and five variables:
#' \describe{
#'   \item{molecule}{the genome}
#'   \item{name}{the name of the feature}
#'   \item{type}{the type of the feature}
#'   \item{position}{the position of the feature}
#'   \item{forward}{is the feature oriented, and if so in the forward direction?}
#' }
"example_features"

Try the gggenes package in your browser

Any scripts or data that you put into this service are public.

gggenes documentation built on Sept. 8, 2023, 5:43 p.m.