R/ath_featureLength.R

#' Example - vector with gene length
#'
#' Length of Arabidopsis thaliana genes (TAIR10) obtained with the following code:
#'
#' \code{library(biomaRt)}
#'
#' \code{ath <- useMart('plants_mart', host = "plants.ensembl.org", dataset = "athaliana_eg_gene")}
#'
#' \code{gene_start_end = getBM(attributes = c('ensembl_gene_id', 'start_position', 'end_position'), mart = ath)}
#'
#' \code{featureLength <- gene_start_end$end_position - gene_start_end$start_position}
#'
#' \code{names(featureLength) <- gene_start_end$ensembl_gene_id}
#'
#' @format Name vector: length (values) of genes (names) of Arabidopsis thaliana
#' @source \url{plants.ensembl.org}
"ath_featureLength"
KarenGoncalves/CustomSelection documentation built on Oct. 24, 2023, 12:39 a.m.