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 "gse143444"
#>  $ name            : chr "gse143444"
#>  $ md5sum          : chr "b4cafb76881d37557188ed9a94dadec8"
#>  $ submission_date : chr "2025-06-01T23:17:43.912215Z"
#>  $ last_update_date: chr "2025-06-01T23:17:43.912220Z"
#>  $ statistics      :List of 2
#>   ..$ mean:List of 19
#>   .. ..$ number_of_regions      : num 605
#>   .. ..$ gc_content             : NULL
#>   .. ..$ median_tss_dist        : NULL
#>   .. ..$ mean_region_width      : num 121
#>   .. ..$ 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 1114
#>   .. ..$ gc_content             : NULL
#>   .. ..$ median_tss_dist        : NULL
#>   .. ..$ mean_region_width      : num 62.9
#>   .. ..$ 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 GSE143444](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE143444)\nTargets of transduced "| __truncated__
#>  $ summary         : NULL
#>  $ bed_ids         :List of 8
#>   ..$ : chr "2196877e3a0ae4deee82288530545535"
#>   ..$ : chr "3164fb3bc9ccb4707eb012225684f9ae"
#>   ..$ : chr "4123d5de02b0052bd934e3953a1a5975"
#>   ..$ : chr "821e841251afde3af98ef04d23e047d0"
#>   ..$ : chr "9066f777adc47ac421b0e7bd67348781"
#>   ..$ : chr "b3cd288704999014f3d315608b69917d"
#>   ..$ : chr "d9011cf99007037dcbd934ffbbc399bb"
#>   ..$ : chr "f51e115f3bd20678510963970d0806cd"
#>  $ bedfile_count   : int 8
#>  $ author          : chr "Atsushi, Suzuki"
#>  $ source          : chr "gse143444"