index.mat.generation: Index Matrix Generation

Description Usage Arguments Value Author(s) References Examples

Description

To generate S3 class of index

Usage

1
index.mat.generation(word.vec, pos.vec)

Arguments

word.vec

a vector of nucleotides, the default is c("A","T","C","G").

pos.vec

a vector of positions of local sequence, the default is -40 ~ 40.

Value

index.mat.generation return a list containing components:

mat

a matrix with nucleotides as row names and positions as column names will be returned, a 4\times81 matrix will be returned with default arguments.

Author(s)

Guoshuai Cai

References

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

Examples

1
2
3
4
5
word<-81
word.vec<-c("A","T","C","G")
pos.vec<-c((-(word-1)/2):((word-1)/2))

obj.index<-index.mat.generation(word.vec,pos.vec)

GCAI.bias documentation built on May 1, 2019, 8:18 p.m.