Skip to content

Commit d7e439f

Browse files
authored
Merge pull request #23 from allemangD/move-modules
MFSDA_selectVariablesPCA Module Bug Fixes
2 parents 624ba38 + 7a3e486 commit d7e439f

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

MFSDA/Resources/Libraries/MFSDA_selectVariablesPCA.py renamed to MFSDA/MFSDA_selectVariablesPCA.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python-real
2+
# -*- coding: utf-8 -*-
13
from __future__ import print_function
24
from sklearn.decomposition import PCA
35
import pandas as pd

MFSDA/MFSDA_selectVariablesPCA.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<executable>
3+
<category>Shape Analysis.Advanced</category>
4+
<title>MFSDA_selectVariablesPCA</title>
5+
<description><![CDATA[This provides a commandline interface to run MFSDA_selectVariablesPCA.]]></description>
6+
<version>1.0.0</version>
7+
8+
9+
<contributor>Loic Michoud,Mateo Lopez (UNC)</contributor>
10+
11+
<parameters>
12+
<label>IO</label>
13+
<description>Inputs parameters</description>
14+
<file fileExtensions=".csv">
15+
<name>csv</name>
16+
<longflag>csv</longflag>
17+
<label>Covariate csv file</label>
18+
<channel>input</channel>
19+
<description>Table of covariates ex. age gender group veCadherinP</description>
20+
</file>
21+
<integer>
22+
<name>num_components</name>
23+
<longflag>num_components</longflag>
24+
<label>Number of components</label>
25+
<channel>input</channel>
26+
<description>Number of principal components for pearson correlation analysis</description>
27+
</integer>
28+
<directory>
29+
<name>output</name>
30+
<longflag>output</longflag>
31+
<label>Output Directory</label>
32+
<channel>output</channel>
33+
<description>output shape</description>
34+
<default>./out</default>
35+
</directory>
36+
</parameters>
37+
</executable>
38+

0 commit comments

Comments
 (0)