pyplsc

A python implementation of partial least squares correlation (PLSC).

Installation

pyplsc can be installed from PyPI via:

pip install pyplsc

Quickstart

pyplsc uses sklearn-style syntax for model fitting:

from pyplsc import PLSC

plsc = PLSC().fit(data=X, covariates=Y, design=table, between='group')
plsc.permute(1000) # Permutation testing to assess significance
plsc.bootstrap(1000) # Bootstrap resampling to assess reliability

The examples and API explain these methods in greater depth.