makeConf: make configurations for experimental design written in csv...

Description Usage Arguments Value Author(s) Examples

View source: R/makeCountSet.R

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

1
	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

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

ChIPComp documentation built on Nov. 8, 2020, 5:24 p.m.