separate.multiple.features: Separate Multiple Features

Description Usage Arguments Details Value

View source: R/user_functions.R

Description

Divides a bed file with multiple features in multiple files with single features.

Usage

1
2
3
4
5
separate.multiple.features(
  features_file,
  save_dir = paste0(getwd(), "/new_feature_files"),
  colf = 4
)

Arguments

save_dir

The directory where files should be wrote. By default, the folder "new_feature_files" inside of the current working directory

colf

The column of the feature in the bed. By default, the first three columns are chr, start and end, and the 4th column is the feature.

features_files

A character vector with the file path of the multiple-feature bed, or a data.frame/data.table with the data in a bed-like format.

Details

It is useful, for example, if you use ChromHMM states bed files, in order to be able to use mubeen.

Value

None


omorante/mubeen documentation built on June 4, 2020, 9:19 p.m.