makebmDataFromFiles: This function makes bmData object from files. Users can input...

View source: R/makebmData.R

makebmDataFromFilesR Documentation

This function makes bmData object from files. Users can input the name of a file or a file folder.

Description

This function makes bmData object from files. Users can input the name of a file or a file folder.

Usage

makebmDataFromFiles(name, sampleNames = NULL, variablesNames = NULL)

Arguments

name

the name of files or file folder

sampleNames

the name for each file

variablesNames

the names of the first two columns will be assigned c("chr","pos"), the names of the following columns will be assigned by variablesNames

Details

bed files and txt files are supported. Bed files can only contain no more than two metadata, as it stands for value1/2. Txt files should organize the columns as chr, pos, value1, value2(optional).


YuLab-SMU/BMplot documentation built on June 1, 2025, 4:09 p.m.