search for: inftyp

Displaying 1 result from an estimated 1 matches for "inftyp".

Did you mean: infty
2011 Nov 08
3
ggplot2 reorder factors for faceting
...#39;a',4), rep('b',4), rep('c',4), rep('d',4), rep('e',4), rep('f',4)) ,4)) fcData <- rnorm(96) times <- rep(rep(c(2,6,24,48),6),4) infection <- c(rep('InfA', 24), rep('InfB', 24), rep('InfC', 24), rep('InfD', 24)) infType <- c(rep('M', 24), rep('D',24), rep('M', 24), rep('D', 24)) # data is long format for ggplot2 plotData <- as.data.frame(cbind(genes, as.numeric(fcData), as.numeric(times), infection, infType)) hp2 <- ggplot(plotData, aes(factor(times), genes)) + geom_tile...