prepare.mspc.table: Prepare MSPC Table

Description Usage Arguments Details Value

View source: R/user_functions.R

Description

Creates a data.frame with the annotation of different batches of bed files to be processed by the MSPC algorithm (Consensus Peaks).

Usage

1
prepare.mspc.table(input_dir)

Arguments

input_dir

The root directory of your bed files collection.

Details

Since the MSPC function mspc.consensus.peaks requires a data frame with the lists of bed files and their associated feature name and cell type, this function creates automatically the table from a proper folder structure. In order to use this function, you have to organize your bed files in folder, one for each cell type, and include different folders inside of them, one for each feature.

Value

A data frame with 3 columns: 1st list of input files, separate with a pipe symbol ('|'), 2on cell types, 3rd feature names.


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