Function reference
-
ComputeSNNasym()
- Calculates SNN from adjacency matrix with uneven number of neighbours per row.
-
NormLaplacian()
- Calculate Normalized Graph Laplacian
-
aR_metric()
- calculates association ratio between to columns in a matrix.
-
add_caclust_sce()
- Add caclust object to SingleCellExperiment object
-
add_zero_dim()
- Add an extra 0 dimension to vector
-
annotate_biclustering()
- Perform gene overrepresentation analysis and annotate biclusters.
-
annotate_by_goa()
- Annotate CAbiNet results by gene overrepresentation analysis results.
-
as.caclust()
- Try converting to caclust object from list or biclustlib.
-
assign_clusters_GMM()
- Assign cluster to cells/genes
-
assign_cts()
- Assign cell types to clusters using the Hungarian algorithm.
-
augment_vector()
- Transforms vectors such that the max. inner product (MIP) search is equal to a NN search with euclidean distances.
-
biMAP()
- Compute biMAP
-
biMAP_plotter()
- biMAP plotter
-
bicplot()
- Plot of 2D CA projection of the clustering results.
-
ca_biMAP()
- Compute biMAP basedon CA results
-
caclust-class
- An S4 class that contains all elements needed for CA.
-
caclust()
- caclust
-
calc_assR()
- Calculate Association Ratio
-
calc_distances()
- Calculate distances for bigraph
-
calc_euclidean()
- Calculate euclidean distance
-
calc_overlap()
- WIP replacement for `determine_overlap` function
-
calc_overlap_deprecated()
- Deprecated, slower old version of calc_overlap. Only included for testing.
-
cell_clusters()
- Get cell clusters
-
cellmarker_v2
- CellMarker V2
-
check_caclust()
- Checks if caclust-class was constructed correctly
-
check_caobj_sce()
- check_caobj_sce
-
contour_plot()
- internal helper to plot contour biMAP
-
convert_to_biclust()
- Converts CAclust results to biclustlib results
-
create_bigraph()
- Combine kNN graphs to large cell-gene adjecency matrix
-
determine_overlap()
- Determines the overlap of chosen genes between nearest neighbour cells. It works faster on sparse matrix than on dense matrix.
-
eigengap()
- Detecting eigengap.
-
feature_biMAP()
- plot biMAP with gene expression
-
filter_gene_sets()
- Filter gene sets by size
-
format_gene_sets()
- Changes long format gene set data frame into a named list of gene sets.
-
gene_clusters()
- Get gene clusters
-
get_bimap()
- Get biMAP coordinates
-
get_caclust()
- Get caclust object from SingleCellExperiment object.
-
get_cell_prob()
- Get probablities of cell clusters
-
get_eigen()
- Get eigenvectors from spectral clustering
-
get_gene_prob()
- Get probablities of gene clusters
-
get_majority()
- Determines majority in a vector
-
get_ncells()
- Get the number of cells from each cluster per hexbin
-
get_params()
- Get parameters for generating clustering
-
get_snn()
- Get SNN graph
-
hex_plot()
- internal helper to plot hex biMAP
-
indx_to_spmat()
- Convert index matrix to sparse matrix.
-
is.empty()
- Helper function to check if object is empty.
-
load_gene_set()
- Load the required gene set.
-
make_SNN()
- Create SNN-graph from caobj
-
metadata_biMAP()
- Plot continous or categorical data as a biMAP
-
mix()
- Shuffle rows of a data frame for better plotting.
-
mix_rgb()
- Mixes the colors of two clusters proportionally.
-
new_caclust()
- Create new caclust object
-
optimal_km()
- An integration of several runs of kmens with different random seeds
-
optimal_skm()
- An integration of several runs of skmens with different random seeds
-
parse_ratio()
- turns string of a ratio in a number.
-
per_cluster_goa()
- Perform gene set overrepresentation analysis for each bicluster and annotate cells based on the best match.
-
perform_goa()
- Adapted from `DOSE:::enricher_interal`. Performs Gene Overrepresentation Analysis.
-
plot_contour_biMAP()
- Plot contour biMAP
-
plot_feature_biMAP()
- BiMAP visualization of feature expression.
-
plot_goa_res()
- Plot gene overrepresentation analysis results.
-
plot_hex_biMAP()
- Plot biMAP with hexagonal bins
-
plot_metadata_biMAP()
- Plot continous or categorical data as a biMAP
-
plot_scatter_biMAP()
plot_biMAP()
- Plots a biMAP scatter plot
-
rm_monoclusters()
- Remove clusters only consisting of cells/genes
-
run_biMAP()
- Run UMAP embedding for cell-gene graph built up by caclust.
-
run_caclust()
- Run biclustering
-
run_leiden()
- Leiden clustering on bigraph
-
run_spectral()
- Run spectral clustering
-
scatter_plot()
- internal helper to plot scatter biMAP
-
show.caclust()
show(<caclust>)
- Print caclust object in console
-
tbl_paste()
- concatenate table() results for hex_plot.