s_matrixlm: Checks for non-zero slope in linear models of connected NTUs

Description Usage Arguments Value Examples

Description

For potential network connections between two nodal taxonomic units (NTUs), verifies that the slope of a linear model is non-zero by ensuring that the p value for the line is greater than 0.05

Usage

1
s_matrixlm(matrix, boolean, fn)

Arguments

inputParameter1

matrix of NTU abundances in rows and sample dates in columns inputParameter1

inputParameter2

boolean is a matrix of 1's and 0's from the LSA code indicating which NTUs are connected (1's) inputParameter2

inputParameter3

fn is a file name for the output inputParameter3

Value

output A boolean matrix of connections that pass. Results are in the upper triangle.

Examples

1
s_matrixlm(matrix=deep_popcounts, boolean=combSPdeep,fn="lmconfirmation_200.csv")

kevinvergin/BATSLSA documentation built on May 20, 2019, 9:20 a.m.