getTestingData: Extract testing data from ChIPscore object

View source: R/GAGeneric.R

getTestingDataR Documentation

Extract testing data from ChIPscore object

Description

getTestingData extracts selected regions from ChIPscore object to be used as testing set.

Usage

getTestingData(ChIPscore,loci = 1)

Arguments

ChIPscore

ChIPscore object as returned by processingChIP

loci

numeric describing index of loci to be used as testing data.

Value

Returns ChIPscore object with the selected testing loci.

Author(s)

Patrick C.N. Martin <pcnmartin@gmail.com

Examples


library(ChIPanalyser)
data(ChIPanalyserData)
# See GA vignette for usage 
test <- processingChIP(chip,top)
test <- getTestingData(test, 1:2)


patrickCNMartin/ChIPanalyser documentation built on Dec. 5, 2024, 9:32 a.m.