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
2
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. 7, 2018, 6 p.m.