Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -1091,3 +1091,18 @@
#' }
#' @keywords internal
"dlbcl90_genes"

#' ENSG to symbol converter
#'
#' A data frame with ENSEMBL gene ids in different format and the corresponding
#' hgnc symbols.
#'
#' @format ## `gencode_to_symbol`
#' A data frame with 60038 rows and 3 columns
#' \describe{
#' \item{ensembl_gene_id}{ENSEMBL gene id in a format without .<number>.}
#' \item{gene_id}{ENSEMBL gene id in a format containing .<number>.}
#' \item{hgnc_symbol}{Human-readable gene symbol.}
#' }
#' @keywords internal
"gencode_to_symbol"
9 changes: 9 additions & 0 deletions data-raw/DATASET.R
Original file line number Diff line number Diff line change
Expand Up @@ -530,3 +530,12 @@ dlbcl90_genes <- system.file(
) %>%
read_tsv()
usethis::use_data(dlbcl90_genes, overwrite = TRUE)

# ENSG to Hugo_Symbol converter
gencode_to_symbol <- system.file(
"extdata",
"gencode_to_symbol.hg38.tsv",
package = "GAMBLR.data"
) %>%
read_tsv()
usethis::use_data(gencode_to_symbol, overwrite = TRUE)
Binary file added data/gencode_to_symbol.rda
Binary file not shown.
Loading
Loading