Description Usage Arguments Details Value Author(s) See Also Examples
This function imports a standard bed file
1 |
file |
Specifies the filename/path |
header |
Logical, is a header present |
sep |
Column separator |
This function imports a standard bed-file into a data.frame. It is basically a convenience wrapper around read.table
. However,
if no header lines is given, this function automatically assigns the column names, as they are given in the bed-specification on the
Ensembl page here: https://www.ensembl.org/info/website/upload/bed.html
A data.frame
Daniel Fischer
[exportBed], [read.table]
1 2 3 4 5 6 |
# Define here the location on HDD for the example file
fpath <- system.file("extdata","example.bed", package="GenomicTools.fileHandler")
# Import the example bed file
bedFile <- importBed(file=fpath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.