makeConf {ChIPComp}R Documentation

make configurations for experimental design written in csv sheet

Description

Make a list with two elements. The first element is a data frame containing two group comparison study information. The second element is the design matrix.

Usage

	makeConf(sampleSheet)

Arguments

sampleSheet

A csv sheet represents ChIP experiments design. It contains 6 columns,sampleID,condition,factor,ipReads,ctReads,peaks. condition refers to treatment condition or cell line; factor refers to transcription factor or histone modification; ipReads is the ChIP sequence data in bam or bed format; ctReads is the control sequence data in bam or bed format; peaks is the called peaks from existing peak-calling software.

Value

A list with two elements. The first element is a data frame containing two group comparison study information. The second element is the design matrix.

Author(s)

Hao Wu<hao.wu@emory.edu>, Li Chen <li.chen@emory.edu>

Examples


	confs=makeConf(system.file("extdata", "conf.csv", package="ChIPComp"))
	conf=confs$conf
	design=confs$design


[Package ChIPComp version 1.20.0 Index]