Types
Index
All types
Muon.AnnData — TypeAn annotated data object that stores data matrices with associated metadata.
Constructor
AnnData(;
X::AbstractMatrix{<:Number},
obs::Union{DataFrame, Nothing}=nothing,
obs_names::Union{AbstractVector{<:AbstractString}, Nothing}=nothing,
var::Union{DataFrame, Nothing}=nothing,
var_names::Union{AbstractVector{<:AbstractString}, Nothing}=nothing,
obsm::Union{AbstractDict{<:AbstractString, <:Union{<:AbstractArray{<:Number}, DataFrame}}, Nothing}=nothing,
varm::Union{AbstractDict{<:AbstractString, <:Union{<:AbstractArray{<:Number}, DataFrame}}, Nothing}=nothing,
obsp::Union{AbstractDict{<:AbstractString, <:AbstractMatrix{<:Number}}, Nothing}=nothing,
varp::Union{AbstractDict{<:AbstractString, <:AbstractMatrix{<:Number}}, Nothing}=nothing,
layers::Union{AbstractDict{<:AbstractString, <:AbstractMatrix{<:Number}}, Nothing}=nothing,
uns::Union{AbstractDict{<:AbstractString, <:Any}, Nothing}=nothing,
)Keyword arguments / fields of the object
X: An observations × variables matrix.obs: ADataFramewith observation-level metadata.obs_names: A vector of observation names (identifiers).var: ADataFramewith variable-level metadata.var_names: A vector of ariable names (identifiers).obsm: Dictionary with observation-level metadata.varm: Dictionary of observation-level metadata.obsp: Dictionary of pairwise observation-level metadata. Each element ofobspis a square matrix.varp: Dictionary of pairwise variable-level metadata. Each element ofvarpis a square matrix.layers: Dictionary of additional observations × variables matrices, e.g. for different processing/normalization steps.uns: Dictionary with unstructured metadata.
Muon.MuData — TypeA multimodal data object that stores collections of AnnData objects.
Constructor
MuData(;
mod::Union{AbstractDict{<:AbstractString, AnnData}, Nothing}=nothing,
obs::Union{DataFrame, Nothing}=nothing,
obs_names::Union{AbstractVector{<:AbstractString}, Nothing}=nothing,
var::Union{DataFrame, Nothing}=nothing,
var_names::Union{AbstractVector{<:AbstractString}, Nothing}=nothing,
obsm::Union{AbstractDict{<:AbstractString, <:Union{<:AbstractArray{<:Number}, DataFrame}}, Nothing}=nothing,
varm::Union{AbstractDict{<:AbstractString, <:Union{<:AbstractArray{<:Number}, DataFrame}}, Nothing}=nothing,
obsp::Union{AbstractDict{<:AbstractString, <:AbstractMatrix{<:Number}}, Nothing}=nothing,
varp::Union{AbstractDict{<:AbstractString, <:AbstractMatrix{<:Number}}, Nothing}=nothing,
obsmap::Union{AbstractDict{<:AbstractString, <:AbstractVector{<:Integer}}, Nothing}=nothing,
varmap::Union{AbstractDict{<:AbstractString, <:AbstractVector{<:Integer}}, Nothing}=nothing,
uns::Union{AbstractDict{<:AbstractString, <:Any}, Nothing}=nothing,
axis::Union{Integer, Nothing}=nothing,
)Keyword arguments / fields of the object
mod: A dictionary ofAnnDataobjects.obs: ADataFramewith observation-level metadata.obs_names: A vector of observation names (identifiers). The names correspond toobs_namesof theAnnDataobjects.var: ADataFramewith variable-level metadatavar_names: A vector of variable names (identifiers). The names correspond tovar_namesof theAnnDataobjects.obsm: Dictionary of observation-level metadata.varm: Dictionary of variable-level metadata.obsp: Dictionary of pairwise observation-level metadata. Each element ofobspis a square matrix.varp: Dictionary of pairwise variable-level metadata. Each element ofvarpis a square matrix.obsmap: Dictionary with one integer vector for each modality. The vectors contain for each observation in the MuData object the index of corresponding observation in the respectiveAnnDataobject, or 0 if the observation is not present. This argument to the constructor should generally not be required unless you know what you're doing.varmap: Dictionary with one integer vector for each modality. The vectors contain for each variable in the MuData object the index of the corresponding variable in the respectiveAnnDataobject, or 0 if the observation is not present. This argument to the constructor should generally not be required unless you know what you're doing.uns: Dictionary with unstructured metadata.axis: Axis of the object.axis=1(default) indicates sharing of observations, eachAnnDataobject is treated as a separate modality with no overlapping variables.axis=2indicates sharing of variables, eachAnnDatais treated as a dataset with no overlapping observations.axis=0indicates sharing of both observations and variables, useful when the differentAnnDataobjects are subsets of the same dataset.