mergeSampleMats: Merge tables listing methylation matrices for different...

View source: R/methMatrixManipulation.R

mergeSampleMatsR Documentation

Merge tables listing methylation matrices for different samples

Description

Uses file naming convention of MatrixLog_regionType_sampleName.csv to merge tables of methylation matrices that were processed separately for each sample. The function will merge all the samples listed in samples and then will also delete the original split files

Usage

mergeSampleMats(path, regionType, samples, deleteSplitFiles = F)

Arguments

path

Path to working directory in which csv subdirectory exists.

regionType

A collective name for this list of regions (e.g TSS or amplicons). It is used in naming the files

samples

A list of sample names to merge (used in the name of the file)

deleteSplitFiles

Logical value to determine if individual sample files should be deleted (defualt=F).

Value

Table of merged samples


jsemple19/methMatrix documentation built on Aug. 19, 2022, 3:57 p.m.