View source: R/createCompensation.R
createCompensation | R Documentation |
Creates a new compensation.
createCompensation(experimentId, name, spillMatrix, channels = NULL)
experimentId |
The ID of the experiment of a |
name |
Name of the compensation matrix. |
spillMatrix |
The spillover matrix. This can either be a 1-dimensional
vector of size |
channels |
The channel names. Not required if |
## Not run:
createCompensation(
experimentId,
name="Comp 1",
channels=c("Ax488-A", "PE-A"),
spillMatrix=c(1, 0,
0, 1)
)
# same as:
createCompensation(
experimentId,
name="Comp 1",
spillMatrix=matrix(
c(1, 0,
0, 1),
nrow=2,
ncol=2,
byrow=TRUE,
dimnames=list(c("Ax488-A", "PE-A"), c("Ax488-A", "PE-A"))
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.