inst/scripts/dynamics.R

## msnl <- commonFeatureNames(list(n2014 = nightingale2014, n2015 = nightingale2015))
## d <- pRoloc:::pdist(msnl)

## d <- pRoloc:::pdist(yeastgg2, "condition")
## n <- 5
## o <- order(d, decreasing = TRUE)
## d[o[1:n]]

## yggfoi <- FeaturesOfInterest(description = "top dists", fnames = names(d[o])[1:n])

## p <- plot2D(yeastgg2[, yeastgg2$condition == "Glu"])
## highlightOnPlot(yeastgg2[, yeastgg2$condition == "Glu"],
##                 yggfoi, pch = 19, cex = 2)
## text(p[foi(yggfoi), ], labels = 1:n, col = "white")


## p <- plot2D(yeastgg2[, yeastgg2$condition == "Gly"])
## highlightOnPlot(yeastgg2[, yeastgg2$condition == "Gly"],
##                 yggfoi, pch = 19, cex = 2)
## text(p[foi(yggfoi), ], labels = 1:n, col = "white")


## yyg1 <- yeastgg2[, yeastgg2$replicate == 1]
## yyg2 <- yeastgg2[, yeastgg2$replicate == 2]
## d1 <- pRoloc:::pdist(yyg1, "condition")
## d2 <- pRoloc:::pdist(yyg2, "condition")

## plot((d1+d2)/2, log2(d1/d2))
## abline(h = 0)

Try the pRoloc package in your browser

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

pRoloc documentation built on Nov. 8, 2020, 6:26 p.m.