Protein#
missionbio.mosaic.protein.Protein
- class Protein(*args, **kwargs)#
Container for Protein data
Inherits most methods from
_Assay
. See that for the documentation on other methods and visualizations.Algorithms#
normalize_reads
([method, jitter, scale, ...])Normalize read counts.
assign_from_truth
([truth, merge, ...])Label each cell with the most likely cell type from the truth.
cluster_and_label
([truth, merge, ...])Cluster and label cells using the given truth.
label_sticky_cells
([sticky_antibodies, ...])Label cells which are likely to be sticky.
truth
([version, splitby])Get the protein truth for the clusters
Protein-specific visualizations#
cells_per_ab
([title])Bar plot of non-zero read cells to antibodies.
read_depth_dependence
(ab[, colorby])Scatter plot of the read depth dependence of an antibody.
reads_to_ab
(**kwargs)Violin plot for reads taken by each antibody.
update_coloraxis
(fig, layer[, coloraxis])Sets the colorscale for Protein.
Extended methods#
run_umap
(attribute[, output_label])Extends
run_umap()