cols_names: Sets common column names in a data frame

View source: R/epi_plot.R

cols_namesR Documentation

Sets common column names in a data frame

Description

Sets common column names in a given data frame containing the CpGs genomic ranges or a DMR (result of epimutations or epimutations_one_leave_out function).

Usage

cols_names(x, cpg_ids_col = FALSE)

Arguments

x

a data frame containing the genomic ranges or a DMR (a row of the results of epimutations or epimutations_one_leave_out function).

cpg_ids_col

a boolean, if TRUE the input data frame contains the CpGs names column.

Value

The function returns a data frame containing the column names to carry out the analysis without any error.


isglobal-brge/EpiMutations documentation built on April 20, 2024, 9:05 a.m.