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-release documentation built on Sept. 4, 2024, 1:49 p.m.