Description Usage Arguments Value Author(s)
View source: R/plot_arch_struct.R
Find similarity structure between archetypes by comparing archetype weights for cells, measuring similarity of archetypes in expression space and in marker gene. genesXarch option shows
1 2 3 4 |
arc |
object containing archetypal analysis results (class "pch_fit") |
type |
one of c("cells", "space", "marker_genes", "genesXarch"). "cells": distances are computed over archetype weights of cells (S matrix). "space": measures distances between archetypes in space, PCs or gene expression, depending on which space was used to find archetypes (XC matrix). "marker_genes": distance is computed base on lists marker genes. "genesXarch": show both archetypes and dimensions, both clustered with hierarchical clustering. When |
dist_fun |
function use to compute distance, should take one argument and compute distances between rows. |
marker_genes |
filtered data.table containing markers for each archetype, normally the output of |
marker_genes_mean |
show the strength of marker gene association with archetypes? (mean_diff in the output of |
marker_genes_mean_col |
which column in |
Matrix of the same dimention as the original matrix but with values in each column permuted.
Vitalii Kleshchevnikov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.