show_associations: show_associations

Description Usage Arguments

View source: R/plots.R

Description

Produces the scatterplot of each sampled association between 2 genes inside each cluster of a partition

Usage

1
show_associations(x, y, partition, partition_ixs, output_dir)

Arguments

x

data.frame; the table of scores

y

matrix; the gene expression matrix (rownames corresponding to genes and colnames to cells)

partition

vector; partition of x into k clusters

partition_ixs

list of n-by-m matrices of boolean indexes resulting from sample function where n is the number of individuals in a given cluster of the partition and m is is the number of methods used for the sampling

output_dir

path to a directory where to store all the plots


charles-bernard/mage documentation built on May 14, 2019, 2 a.m.