Skip to contents

Calculate Association Ratio

Usage

calc_assR(caobj, direction = "cells-genes")

Arguments

caobj

A cacomp object with principal and standard coordinates calculated.

direction

Either "cells" or "genes". If "cells-genes" the association ratio of each gene for each cell is calculated. If "genes-cells" the assoc. ratio of each cell for each gene is calculated.

Value

Matrix with pairwise association ratios.