Nothing
formatdata4DRomics <- function(signalmatrix, dose, samplenames)
{
signalmatrix <- as.matrix(signalmatrix)
if (missing(samplenames)) samplenames <- colnames(signalmatrix)
ncond <- ncol(signalmatrix)
if (missing(dose))
{
stop("You must specify dose as a numeric vector giving the dose of each sample.")
} else
{
if ((length(dose) != ncond) | !is.numeric(dose))
stop("The input dose must be a numeric vector of length equal to the number of columns of
signal.matrix, giving the dose of each sample (so each column of signal.matrix).")
}
itemnames <- rownames(signalmatrix)
column1 <- data.frame(V1 = as.factor(c("item", itemnames)))
othercolumns <- as.data.frame(as.matrix(rbind(dose, signalmatrix)))
data4DRomics <- cbind(column1, othercolumns)
row.names(data4DRomics) <- 1:nrow(data4DRomics)
return(data4DRomics)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.