read .bed
file
read_bed(file, ...)
file | string. path to input file, passed onto |
---|---|
... | passed on to |
a tibble of 6 variables
sample_bed <- paste( 'chr22\t1000\t5000\tcloneA\t960\t+', 'chr22\t2000\t6000\tcloneB\t900\t-', sep = '\n' ) read_bed(sample_bed)#> # A tibble: 2 x 6 #> chrom start end name score strand #> <chr> <int> <int> <chr> <int> <chr> #> 1 chr22 1000 5000 cloneA 960 + #> 2 chr22 2000 6000 cloneB 900 -