Package that provides tools for brain MRI Deep Learning pre-processing.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
- brainprep.qc.plot_pca(X, df_description, outdir)[source]¶
Save the two first PCA components.
- Parameters:
X : array (n_samples, …)
the input data.
df_description : pandas DataFrame
samples associated descriptons: must have ‘n_samples’ rows and a ‘participant_id’ column.
outdir : str
the destination folder.
- Returns:
pca_path : str
the path to the generated file.
Follow us