Regionfile_read: Internal Use Function That reads the bed file.

View source: R/File_read.R

Regionfile_readR Documentation

Internal Use Function That reads the bed file.

Description

This function reads the bed file and sort them.

Usage

Regionfile_read(bedfile, suffix)

Arguments

bedfile

refers to the bedfile name (e.g., refseq or cpgi) downloaded from UCSC, with the default refseq.

suffix

refers to the compressed file suffix such as ".gz", ".zip" and so on, with the default suffix ".gz".

Value

Outputs bed file that can be used in the next step.

Examples

regionfile <- Regionfile_read(bedfile, suffix)


xiaowangCN/GeneDMRs documentation built on Nov. 22, 2023, 11:19 p.m.