getTrainingData: Extract training data from ChIPscore object

View source: R/GAGeneric.R

getTrainingDataR Documentation

Extract training data from ChIPscore object

Description

getTrainingData extracts selected regions from ChIPScore object to be used as training set.

Usage

getTrainingData(ChIPscore,loci = 1)

Arguments

ChIPscore

ChIPscore object as returned by processingChIP

loci

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

Value

Returns ChIPscore object with the selected training 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 <- getTrainingData(test, 1:2)


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