testHT <- function(obj){
level <- 'protein'
metacell.mask <- match.metacell(GetMetacell(obj), c("Missing POV", "Missing MEC"), level)
indices <- GetIndices_WholeMatrix(metacell.mask, op = ">=", th = 1)
obj <- MetaCellFiltering(obj, indices, cmd = "delete")$new
test.ttest <- compute_t_tests(obj)
design <- 'OnevsOne'
test.limma <- limmaCompleteTest(exprs(obj), pData(obj), design)
cat('compute_t_tests(obj)\n')
print(head(test.ttest$logFC))
cat('limmaCompleteTest()\n')
print(head(test.limma$logFC))
}
obj <- Exp1_R10_pept
testHT(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.