powered by
plotEFF
plotEFF( siteEFF, gff = gff, Chr = Chr, start = start, end = end, showType = c("five_prime_UTR", "CDS", "three_prime_UTR"), CDS.height = CDS.height, cex = 0.1, col = c("red", "yellow"), pch = 20, main = main, legend.cex = 0.8, gene.legend = TRUE, markMutants = TRUE, mutants.col = 1, mutants.type = 1, y = c("pvalue", "effect"), ylab = ylab, legendtitle = legendtitle, par.restore = TRUE )
No return value, called for side effects
matrix, column name are pheno names and row name are site position
gff annotation
the chromosome name
start position
end position
character vector, eg.: "CDS", "five_prime_UTR", "three_prime_UTR"
numeric indicate the height of CDS in gene model, range: [0,1]
[0,1]
a numeric control the size of point
vector specified the color bar
vector controls points type, see par()
par()
main title
a numeric control the legend size
whether add legend for gene model
whether mark mutants on gene model, default as TRUE
TRUE
color of lines which mark mutants
a vector of line types
y: indicate either pvalue or effect should be used as y axix, ylab,legendtitle:,character, if missing, the value will be decide by y.
default as TRUE, wether restore the origin par after ploted EFF.
# \donttest{ data("geneHapR_test") # calculate site functional effect # siteEFF <- siteEFF(hapResult, pheno, names(pheno)) # plotEFF(siteEFF, gff = gff, Chr = "scaffold_1") # }
Run the code above in your browser using DataLab