make_sparse_matrix: Make a symmetric square sparse matrix from data frame

View source: R/utils.R

make_sparse_matrixR Documentation

Make a symmetric square sparse matrix from data frame

Description

Convert a data frame into a square sparse matrix (all versus all)

Usage

make_sparse_matrix(data, i.name = "Peak1", j.name = "Peak2", x.name = "value")

Arguments

data

data frame

i.name

name of i column

j.name

name of j column

x.name

name of value column

Value

sparse matrix


cole-trapnell-lab/cicero documentation built on March 13, 2023, 6:02 p.m.