Preprocessing: pp#
Any transformation of the data matrix that is not a tool. Other than tools, preprocessing steps usually don’t return an easily interpretable annotation, but perform a basic transformation on the data matrix.
Basic Preprocessing#
Calculate quality control metrics. |
|
Calculate the coefficient of variation for each protein across replicates. |
|
Compute the nearest neighbors distance matrix using scanpy.pp.neighbors. |
|
Filter samples based on number of counts or proteins. |
|
Filter proteins based on number of counts or samples. |
|
Identify highly variable proteins. |
|
Filter proteins based on detection in replicates. |
|
Aggregates protein intensities across samples using a given function. |
|
Aggregates sample expression across samples using a given function. |
|
Normalize expression values for each sample to sum to a constant value. |
|
Drop excess metadata columns from MaxQuant output. |
|
Remove contaminant proteins from the data matrix. |
|
Remove cRAP (common Repository of Adventitious Proteins) contaminants. |
|
Filters for proteins present in at least min_consecutive of specified consecutive fractions. |
Enrichment#
Calculates enrichment scores and p-values by comparing tagged samples against untagged controls. |
|
Calculates enrichment of each sample against all other samples as the background. |
Imputation#
Impute missing values using a Gaussian distribution. |
|
Impute missing values using KNN imputation. |
Annotation#
Annotate proteins with marker annotations from literature. |
|
Annotate proteins with external validation markers (MitoCarta, MitoCop, topology, etc.). |
|
Annotate proteins with UniProt subcellular location annotations. |
|
Assign colors to compartment annotation columns in |
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |