Before you begin, please install the latest python and pip software. If you have any issues with that, feel free to contact the IT people.
- Download Python | Python.org and pip.
- Chrome Browser
- git clone this project
- In your terminal, please do
pip3 install -r requirement.txt
to install all the external libraries in a easy way. - Make sure your terminal currently in local directory.
-
__Checking all the columns of data already defined in metadata.csv File: __ In
data/
folder, if you are about to use the attributes not specified in thecharacter_female_means_trait_metadata.csv
, enter your extra attributes in that csv file. -
Put your data in
./data/
folder.
- We put one of the testing datasets in the
/data/
folder to demonstrate the use case of this software tool. - Take
./data/character_all_data.csv
as an example.
-
Enter
python3 main.py -h
in your program, and all the program option is printed in your terminal.usage: main.py [-h] [-his] [-x X] [-y Y] [-correlations] [-attributes ATTRIBUTES] [-ridge] [-box] data positional arguments: data input data optional arguments: -h, --help show this help message and exit -his, --histogram generate interactive histograms based on input data -x X, --x X x variable of the input data -y Y, --y Y y variable of the input data -correlations, --correlation_plots correlation plot in pairs (interactive with selection enabled) -attributes ATTRIBUTES, --attributes ATTRIBUTES selected attributes to plot -ridge, --ridgeline ridgeline plot based on selected attribute -box, --boxplot interactive box plot
-
x variable: morph_SVL
-
y variable: morph_head_width
-
Command Line:
python3 main.py ./data/character_all_data.csv -his -x morph_SVL -y morph_head_width
python3 main + (data_path_in_machine) -his -x + (x_variable) -y + (y_variable)
__Sample Output: __
python3 main.py ./data/character_all_data.csv -correlations -attributes morph_SVL, trunk_length, trunk_width
python3 main.py +(data_path) -correlations -attributes +attributes_list_in_data's_columns
Selected attributes in sample: morph_SVL, trunk_length, trunk_width
Notice: attributes are seperated by space !
Feature to play with:
- Interactive Zoom in data points area
- Species Selection in Panel area
Sample Output:
python3 main.py ./data/character_all_data.csv -ridge -x morph_SVL
python3 main.py +(data_path_in_machine) -ridge -x +attributes_to_compare
python3 main.py ./data/character_all_data.csv -box -x morph_SVL
python3 main.py +data_path -box -x +selected_attributes
Feature to Play with: Display the quantile when mouse closer to the box in HTML page
Xing (Nicole) Yu with ☕
Under the supervision of: Dr. Renee Catullo and E&E Group in School of Biology
Australian National University