make_sparse_matrix: Make a symmetric square sparse matrix from data frame

Description Usage Arguments Value

View source: R/utils.R

Description

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

Usage

1
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


cicero documentation built on Dec. 10, 2020, 2 a.m.