Learn R Programming

GCAI.bias (version 1.0)

index.preprocess: Binary Index Matrix Generation

Description

To initiate the binary variable matrix for linear model

Usage

index.preprocess(mat.seq, word)

Arguments

mat.seq
a dataframe of train.dat.seq or test.dat.seq
word
the number of local sequence positions

Value

a binary index matrix will be returned.

References

Cai G, RNA-SEQUENCING APPLICATIONS: GENE EXPRESSION QUANTIFICATION AND METHYLATOR PHENOTYPE IDENTIFICATION, Ph.D. Thesis, 2013

See Also

train.dat.seq,test.dat.seq

Examples

Run this code
word<-81

data(train.dat.seq)
train.index<-index.preprocess(train.dat.seq,word)

data(test.dat.seq)
test.index<-index.preprocess(test.dat.seq,word)

Run the code above in your browser using DataLab