sars <- ReadGRAND(system.file("extdata", "sars.tsv.gz", package = "grandR"),
design=c("Condition",Design$dur.4sU,Design$Replicate))
GetSummarizeMatrix(sars)
head(as.matrix(GetTable(sars)) %*% GetSummarizeMatrix(sars)) # average by matrix multiplication
head(GetTable(sars,summarize = TRUE)) # shortcut, does the same
# See the data-matrices-and-analysis-results vignette for more examples!
Run the code above in your browser using DataLab