zoom.pls_tool.boot_pls1

zoom.pls_tool.boot_pls1(expression: pandas.DataFrame, SBP: pandas.DataFrame, best_comp: int, n_boot: int, seed: int, n_jobs: int)[source]

Estimate Z-scored PLS1 gene weights with bootstrap strategy.

Parameters:
  • expression (pd.DataFrame) – AHBA gene expression matrix.

  • SBP (pd.DataFrame) – One-dimensional data frame of spatial brain phenotype.

  • best_comp (int) – The optimal component number for current PLS-R model.

  • n_boot (int) – Number of bootstrap iteration.

  • seed (int) – Random seed to control the resampling.

  • n_jobs (int) – Number of cores used for parallel computation.

  • Returns

  • pls1_zscore (np.ndarray) – Z-scored PLS1 gene weights estimated through bootstrap.

References

Whitaker, K. J., Vértes, P. E., Romero-Garcia, R & Bullmore, E. T. Adolescence is associated with genomically patterned consolidation of the hubs of the human brain connectome. Proc. Natl Acad. Sci. USA 113, 9105-9110 (2016).