kelshmo / analysis Goto Github PK
View Code? Open in Web Editor NEWstudy-specific scripts
study-specific scripts
In order to reuse scripts in ampad-rnaseq-de-clean with a config.yml
file, I believe this needs to be the parent directory. Think about how to restructure for reuse.
# How to plot a voom object if save.plot=TRUE
# Set plot generic to voom result EList
#' @export
setMethod("plot", signature(x="EList", y="missing"),
function(x, y, ...){
if( is.null(x$voom.xy) || is.null(x$voom.line)){
stop("x does not contain the trend information.\nvoom() must be run with save.plot=TRUE")
}
# points
df = data.frame(x = x$voom.xy$x,
y = x$voom.xy$y)
# trend line
df.line = data.frame(x = x$voom.line$x,
y = x$voom.line$y)
ggplot(df, aes(x,y)) + geom_point(size=.1) + theme_bw(15) + theme(aspect.ratio=1, plot.title = element_text(hjust = 0.5)) + geom_line(data=df.line, aes(x,y), color="red") + xlab(bquote(log[2](count + 0.5))) + ylab(expression( sqrt("standard deviation"))) + ggtitle("Voom: Mean-variance trend") + ylim(0, max(df$y))
}
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.