preprocessPhos preprocesses phosphoproteome data stored in a
SummarizedExperiment object by performing filtering, transformation,
normalization, imputation, and batch effect removal.
Arguments
- seData
A
SummarizedExperimentobject containing phosphoproteome data.- filterList
A
listof filters to apply on the samples. Default isNULL.- missCut
Numericvalue specifying the missing value cutoff percentage for filtering features. Default is 50.- transform
Characterstring specifying the transformation method ("log2", "vst", "none"). Default is "log2".- normalize
Logicalvalue indicating whether to normalize the data. Default isFALSE.- getFP
Logicalvalue indicating whether to retrieve FP samples. Default isFALSE.- removeOutlier
Charactervector of samples to be removed as outliers. Default isNULL.- assayName
Characterstring specifying the assay name in the SummarizedExperiment object. Default isNULL.- batch
Charactervector specifying batch effects to remove. Default isNULL.- scaleFactorTab
Data framecontaining scale factors for normalization. Default isNULL.- impute
Characterstring specifying the imputation method ("QRILC", "MLE", "bpca", "missForest", "MinDet", "none"). Default is "none".- verbose
Logicalvalue indicating whether to print detailed information. Default isFALSE.
Examples
library(SummarizedExperiment)
# Load multiAssayExperiment object
data("dia_example")
# Get SummarizedExperiment object
se <- dia_example[["Phosphoproteome"]]
colData(se) <- colData(dia_example)
# Call the function
preprocessPhos(seData = se, normalize = TRUE, impute = "QRILC")
#> Imputing along margin 2 (samples/columns).
#> class: SummarizedExperiment
#> dim: 172 20
#> metadata(0):
#> assays(2): Intensity imputed
#> rownames(172): s4 s6 ... s499 s500
#> rowData names(7): UniprotID Gene ... Sequence site
#> colnames(20): Phospho_1stCrtl_0min_rep2 Phospho_1stCrtl_0min_rep3 ...
#> Phospho_HGF_24h_rep1 Phospho_HGF_100min_rep1
#> colData names(6): sample treatment ... sampleType sampleName