Learn R Programming

ChIPComp (version 1.2.0)

makeConf: 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.

Examples

Run this code

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

Run the code above in your browser using DataLab