Import top features (ranked by score) from a bed file.
Source:R/chip_related.R
import_topn_bed_features.Rd
Import top features (ranked by score) from a bed file.
Arguments
- bed_feature_file
a character string denoting a valid bed file.
- topn
a numeric value, default 5000, denoting number of top features to keep. Top features are selected by a score column
score
.- center
logical, denoting whether to align each feature by central position. If TRUE, default, it will return a ranges of single nucleotide (width = 0) denting a central position of each feature.
- ...
Other arguments pass to the function
rtracklayer::import.bed()
.