xraw
or
xnorm
) of a cellHTS
object, creates a matrix with the data from the chosen
channel.
getMatrix(y, channel=1, na.rm=FALSE)
xraw
or
xnorm
of a cellHTS
object.y
. By default, the first channel (that is, y[,,,1]
is considered).y
).
If na.rm=FALSE
(the default), the number of rows of the output matrix
is identical to the product between the first two
dimensions of y
(nr wells x nr plates
). If na.rm=TRUE
, only the
rows with no missing entries in all the replicates (columns) are
given. Given as input an array y
(e.g., the slot xraw
, or xnorm
of a
cellHTS
object) with dimensions nr wells x nr plates x
nr replicates x nr channels
, this function creates a matrix with the data for
the chosen channel
. Each replicate corresponds to a column of
the output matrix.
If na.rm
is set to TRUE
, only the positions with
available values for all the replicates are given in the
output matrix.
data(KcViabSmall)
y <- getMatrix(KcViabSmall$xraw)
Run the code above in your browser using DataLab