View source: R/peaks_metadata_encode.R
peaks_metadata_encode | R Documentation |
A subset of the ENCODE metadata that includes links to all human epigenomic peaks data.
peaks_metadata_encode(
save_dir = tools::R_user_dir(package = "PeakyFinders", which = "cache"),
overwrite = FALSE
)
save_dir |
Directory to cache file in. |
overwrite |
Should any local files of the same name be overwritten?
default |
data.table.
### Get peak data only #####
meta <- search_encode(file_type = c("^bed narrowpeak","^bed broadpeak"),
assembly = "GRCh38",
organism = "Homo sapiens",
partial_match = TRUE)
meta <- subset(meta[(!file_type
PeakyFinders:::drop_empty_cols(meta)
tmp <- "~/Downloads/encode_peaks_metadata.tsv.gz"
data.table::fwrite(meta, file = tmp, sep="\t")
meta <- peaks_metadata_encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.