| Title: | What the Package Does (One Line, Title Case) |
|---|---|
| Description: | What the package does (one paragraph). |
| Authors: | Sam El-Kamand [aut, cre] (ORCID: <https://orcid.org/0000-0003-2270-8088>) |
| Maintainer: | Sam El-Kamand <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.0.0.9000 |
| Built: | 2026-05-28 14:49:34 UTC |
| Source: | https://github.com/selkamand/fastmart |
Annotate ENSEMBL GENES with BIOTYPE
fastmart_annotate_biotype( ensemble_gene_id, GRCh = c("38", "37"), cache_dir = fastmart_default_cache() )fastmart_annotate_biotype( ensemble_gene_id, GRCh = c("38", "37"), cache_dir = fastmart_default_cache() )
ensemble_gene_id |
ensembl gene id (can be versioned / not versioned) |
GRCh |
assembly to use. Can only be set to |
cache_dir |
directory to store cache in |
matched biotype for each sample (character)
## Not run: fastmart_annotate_biotype('ENSG00000282455.1') #> IG_D_gene ## End(Not run)## Not run: fastmart_annotate_biotype('ENSG00000282455.1') #> IG_D_gene ## End(Not run)
Cache Tables
fastmart_cache_tables( ensembl_version = 109, overwrite = FALSE, GRCh = c("38", "37"), cache_dir = fastmart_default_cache() )fastmart_cache_tables( ensembl_version = 109, overwrite = FALSE, GRCh = c("38", "37"), cache_dir = fastmart_default_cache() )
ensembl_version |
ensembl version. Older versions may not be supported. Will be ignored if GRCh != 38 |
overwrite |
overwrite existing cache (flag) |
GRCh |
assembly to use. Can only be set to |
cache_dir |
directory to store cache in |
invisible(TRUE). This function is run for its side effects
## Not run: fastmart_cache_tables() ## End(Not run)## Not run: fastmart_cache_tables() ## End(Not run)
Because ENSEMBL IDs are more granular than HGNC / HUGO symbols we require the start & stop coordinates
fastmart_convert_hgnc_to_ensembl( hgnc_symbols, chrom, start, end, GRCh = c("38", "37"), exact_match = TRUE, no_pos_required = FALSE, cache_dir = fastmart_default_cache() )fastmart_convert_hgnc_to_ensembl( hgnc_symbols, chrom, start, end, GRCh = c("38", "37"), exact_match = TRUE, no_pos_required = FALSE, cache_dir = fastmart_default_cache() )
hgnc_symbols |
HGNC symbols |
chrom |
Chromosome of Gene. Required to resolve ambiguous mappings (character) |
start |
Start position of Gene. Required to resolve ambiguous mappings (numeric) |
end |
End position of Gene. Required to resolve ambiguous mappings (numeric) |
GRCh |
assembly to use. Can only be set to |
exact_match |
Is an exact match between chrom-start-end required (TRUE), or should the omst similar interval be returned (FALSE) (flag) |
cache_dir |
directory to store cache in |
matched ENSEMBL IDs (character)
## Not run: fastmart_convert_hgnc_to_ensembl('TBCE', chrom='1', start='235530675', end='235612283', GRCh = "37") # > ENSG00000116957.8 ## End(Not run)## Not run: fastmart_convert_hgnc_to_ensembl('TBCE', chrom='1', start='235530675', end='235612283', GRCh = "37") # > ENSG00000116957.8 ## End(Not run)
Default Cache
fastmart_default_cache()fastmart_default_cache()
default path to cache
fastmart_default_cache()fastmart_default_cache()
Creates a folder (by default at ~/.fastmart) where any database caches will be stored
fastmart_init(cache_dir = fastmart_default_cache())fastmart_init(cache_dir = fastmart_default_cache())
cache_dir |
directory to store cache in |
path to the newly created fastmart cache