plotTable | R Documentation |
This function produces a table summarising differential localisation results between two experiments
plotTable(params, all = FALSE, fcol)
params |
An instance of class |
all |
A |
fcol |
If |
Returns a summary table of translocations of proteins between conditions.
## Generate some example data
library("pRolocdata")
data("tan2009r1")
set.seed(1)
tansim <- sim_dynamic(object = tan2009r1,
numRep = 4L,
numDyn = 100L)
data <- tansim$lopitrep
control <- data[1:2]
treatment <- data[3:4]
## fit GP params
gpParams <- lapply(tansim$lopitrep, function(x)
fitGPmaternPC(x, hyppar = matrix(c(0.5, 1, 100), nrow = 1)))
## run bandle
res <- bandle(objectCond1 = control,
objectCond2 = treatment,
gpParams = gpParams,
fcol = "markers",
numIter = 5L,
burnin = 1L,
thin = 2L,
numChains = 2,
BPPARAM = SerialParam(RNGseed = 1),
seed = 1)
## Process bandle results
bandleres <- bandleProcess(res)
## Tabulate results
plotTable(bandleres)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.