plotCoef {mseq}R Documentation

plot coefficients of Poisson linear model

Description

Plot the coefficients of Poisson linear model.

Usage

plotCoef(data.glm, llen, rlen)

Arguments

data.glm the glm model trained by iterGlm
llen the number of nucleotides before the first nucleotide of a read, which we consider as surrounding sequence
rlen the number of nucleotides in and after the first nucleotide of a read, which we consider as surrounding sequence

Value

No returned value. Will generate a plot.

Examples

 # read and expand the data
 data(g1_part) # for real data, please use read.csv, like g1 <- read.csv("g1.csv")
 data <- expData(g1_part, 2, 3)

 data.glm <- iterGlm(data)
 pdf("plot_coef.pdf")
 plotCoef(data.glm, 2, 3)
 dev.off()

[Package mseq version 1.1 Index]