Get the example BED file or BEDset available through bedhost. Useful for an initial exploration of bedbaser with an example BED file and BEDset in BEDbase.

bb_example(bedbase, rec_type = c("bed", "bedset"))

Arguments

bedbase

BEDbase() object

rec_type

character(1) bed or bedset

Value

list() bed files or bedsets

Examples

bedbase <- BEDbase()
#> 663721 BED files available.
ex_bed <- bb_example(bedbase, "bed")
str(ex_bed)
#> List of 21
#>  $ name                 : chr "ENCFF370XZK"
#>  $ genome_alias         : chr "hg38"
#>  $ genome_digest        : chr "Ba88PY52_qeifhJrgUXyin6UITdXNsg3"
#>  $ bed_compliance       : chr "bed5+1"
#>  $ data_format          : chr "bed_like_rs"
#>  $ compliant_columns    : int 5
#>  $ non_compliant_columns: int 1
#>  $ header               : NULL
#>  $ id                   : chr "0000143becc12fcd50c62f3d78fe7421"
#>  $ description          : chr "female adult (53 years)"
#>  $ submission_date      : chr "2026-04-09T19:40:03.413783Z"
#>  $ last_update_date     : chr "2026-04-14T18:46:25.972343Z"
#>  $ is_universe          : logi FALSE
#>  $ license_id           : chr "DUO:0000042"
#>  $ annotation           :List of 16
#>   ..$ species_name        : chr "Homo sapiens"
#>   ..$ species_id          : chr "9606"
#>   ..$ genotype            : chr ""
#>   ..$ phenotype           : chr ""
#>   ..$ description         : chr ""
#>   ..$ cell_type           : chr "adrenal gland"
#>   ..$ cell_line           : NULL
#>   ..$ tissue              : chr "endocrine gland, adrenal gland"
#>   ..$ library_source      : NULL
#>   ..$ assay               : chr "PRO-cap"
#>   ..$ antibody            : NULL
#>   ..$ target              : NULL
#>   ..$ treatment           : NULL
#>   ..$ global_sample_id    :List of 1
#>   .. ..$ : chr "encode:ENCFF370XZK"
#>   ..$ global_experiment_id:List of 1
#>   .. ..$ : chr "encode:ENCSR970ACM"
#>   ..$ original_file_name  : chr "ENCFF370XZK.bed.gz"
#>  $ processed            : logi FALSE
#>  $ stats                : NULL
#>  $ plots                : NULL
#>  $ files                : NULL
#>  $ universe_metadata    : NULL
#>  $ bedsets              : NULL
ex_bedset <- bb_example(bedbase, "bedset")
str(ex_bedset)
#> List of 14
#>  $ id              : chr "gse182013"
#>  $ name            : chr "gse182013"
#>  $ md5sum          : chr "4683d9158ce21837dbcb8463d966b97f"
#>  $ submission_date : chr "2025-05-25T00:47:56.482820Z"
#>  $ last_update_date: chr "2025-05-25T00:47:56.482824Z"
#>  $ statistics      :List of 2
#>   ..$ mean:List of 19
#>   .. ..$ number_of_regions      : num 106960
#>   .. ..$ gc_content             : NULL
#>   .. ..$ median_tss_dist        : NULL
#>   .. ..$ mean_region_width      : num 1092
#>   .. ..$ exon_frequency         : NULL
#>   .. ..$ exon_percentage        : NULL
#>   .. ..$ intron_frequency       : NULL
#>   .. ..$ intron_percentage      : NULL
#>   .. ..$ intergenic_percentage  : NULL
#>   .. ..$ intergenic_frequency   : NULL
#>   .. ..$ promotercore_frequency : NULL
#>   .. ..$ promotercore_percentage: NULL
#>   .. ..$ fiveutr_frequency      : NULL
#>   .. ..$ fiveutr_percentage     : NULL
#>   .. ..$ threeutr_frequency     : NULL
#>   .. ..$ threeutr_percentage    : NULL
#>   .. ..$ promoterprox_frequency : NULL
#>   .. ..$ promoterprox_percentage: NULL
#>   .. ..$ distributions          : NULL
#>   ..$ sd  :List of 19
#>   .. ..$ number_of_regions      : num 13207
#>   .. ..$ gc_content             : NULL
#>   .. ..$ median_tss_dist        : NULL
#>   .. ..$ mean_region_width      : num 184
#>   .. ..$ exon_frequency         : NULL
#>   .. ..$ exon_percentage        : NULL
#>   .. ..$ intron_frequency       : NULL
#>   .. ..$ intron_percentage      : NULL
#>   .. ..$ intergenic_percentage  : NULL
#>   .. ..$ intergenic_frequency   : NULL
#>   .. ..$ promotercore_frequency : NULL
#>   .. ..$ promotercore_percentage: NULL
#>   .. ..$ fiveutr_frequency      : NULL
#>   .. ..$ fiveutr_percentage     : NULL
#>   .. ..$ threeutr_frequency     : NULL
#>   .. ..$ threeutr_percentage    : NULL
#>   .. ..$ promoterprox_frequency : NULL
#>   .. ..$ promoterprox_percentage: NULL
#>   .. ..$ distributions          : NULL
#>  $ distributions   : NULL
#>  $ plots           :List of 1
#>   ..$ region_commonality: NULL
#>  $ description     : chr "Data from [GEO GSE182013](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE182013)\nPluripotency-Independe"| __truncated__
#>  $ summary         : NULL
#>  $ bed_ids         :List of 8
#>   ..$ : chr "359c060d1a511742ccd43ec7d18b5ebf"
#>   ..$ : chr "40f605c04e7cfe8c8d9e980908252079"
#>   ..$ : chr "5acacc3004d5cbf51bf09385cf194566"
#>   ..$ : chr "65948451a09c27bbef1ec3bd8751da24"
#>   ..$ : chr "8ee9a3f1f021822ef8840e7fb27d8291"
#>   ..$ : chr "91ec7a09d6c6ef1ac703d58dc66ab08b"
#>   ..$ : chr "a9c75381c2b62ae719c37cebb5a6f765"
#>   ..$ : chr "efcb48efaeee58037914c8b6d3b5db21"
#>  $ bedfile_count   : int 8
#>  $ author          : chr "Yosef, Buganim"
#>  $ source          : chr "gse182013"