Nothing
context("Row scaling")
library(qPLEXanalyzer)
data(exp3_OHT_ESR1)
data(human_anno)
rawMSnSet <- convertToMSnset(exp3_OHT_ESR1$intensities_qPLEX2[1:1000,],
metadata = exp3_OHT_ESR1$metadata_qPLEX2,
indExpData = c(7:16),
Sequences = 2,
Accessions = 6)
protMSnSet <- summarizeIntensities(rawMSnSet, sum, human_anno)
rnormMSnSet <- rowScaling(protMSnSet, mean)
# # The MSnSet object contains the MSnbase version in the `processingData` slot
# # This will cause the test to fail if the MSnbase version used in the build
# # changes
# test_that("Row scaling works", {
# expect_equal_to_reference(
# rowScaling(MSnSet_P, mean),
# file="rowScaling_msnset.rds")
# })
# The function only changes the expression set, so let's just compare that
testObj <- exprs(rnormMSnSet)
test_that("Row scaling works", {
expect_equal_to_reference(testObj, file="rowScaling.rds")
})
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.