inst/script/plotFunctions.R

MAedgeRMAPlotEx <- function(degList)
{
    for (i in seq_along(degList)) 
    {
        degenes <- degList[[i]]$FDR < 0.01
        with(degList[[i]], plot(logCPM, logFC, pch=16, cex=0.2, main=names(degList)[i]))
        with(degList[[i]], points(logCPM[degenes], logFC[degenes], col='red', pch=16, cex=0.2))
    }
}

traceAndPlotMAPlot <- function(degList, er)
{
    mkdCodeChunkTitledCommented(er, title="Recursive Tracing Function", level=2,
                                codeMsg="MAedgeRMAPlotEx(degList=`degList`)")
    MAedgeRMAPlotEx(degList=degList)
}

Try the easyreporting package in your browser

Any scripts or data that you put into this service are public.

easyreporting documentation built on Nov. 8, 2020, 8:01 p.m.