build.train.test.data: Function to extract sequences and build feature matrices

Description Usage Arguments Value See Also

Description

Function to extract sequences and build feature matrices

Usage

1
2
build.train.test.data(pos.regions, neg.regions, dictionary.file, org = "hg19",
  select.top.features = TRUE, ...)

Arguments

pos.regions

Genomic Ranges object representing positive class regions

neg.regions

Genomic Ranges object representing negative class regions

dictionary.file

Dictionary file for the kernel build using ChIPKernels

org

Name of the organism. Default is hg19. This assumes that the corresponding BSGenome library is installed

select.top.features

Logical indicating whether feature selection should be performed

...

Additional arugments to select.top.features

Value

List containging feature matrix, labels and indexes for both train and test.

Matrix of positions indicating the position in the sequence with maximum kmer score.

See Also

select.top.features


pranithavangala/SeqGL_pv documentation built on May 25, 2019, 11:25 a.m.