MSstatsSummarizeSingleLinear | R Documentation |
Linear model-based summarization for a single protein
MSstatsSummarizeSingleLinear(single_protein, equal_variances = TRUE)
single_protein |
feature-level data for a single protein |
equal_variances |
if TRUE, observation are assumed to be homoskedastic |
list with protein-level data
raw = DDARawData
method = "linear"
cens = NULL
impute = FALSE
# currently, MSstats only supports MBimpute = FALSE for linear summarization
MSstatsConvert::MSstatsLogsSettings(FALSE)
input = MSstatsPrepareForDataProcess(raw, 2, NULL)
input = MSstatsNormalize(input, "EQUALIZEMEDIANS")
input = MSstatsMergeFractions(input)
input = MSstatsHandleMissing(input, "TMP", TRUE, "NA", 0.999)
input = MSstatsSelectFeatures(input, "all")
input = MSstatsPrepareForSummarization(input, method, impute, cens, FALSE)
input_split = split(input, input$PROTEIN)
single_protein_summary = MSstatsSummarizeSingleLinear(input_split[[1]])
head(single_protein_summary[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.