{"id":37679022,"url":"https://github.com/connectomicslab/hcp-behavioral-domains","last_synced_at":"2026-01-16T12:21:44.069Z","repository":{"id":112316699,"uuid":"514184612","full_name":"connectomicslab/hcp-behavioral-domains","owner":"connectomicslab","description":"This is the repository to store the analysis code for the paper \"Exploring the Latent Structure of Behavior Using the Human Connectome Project’s Data\".","archived":false,"fork":false,"pushed_at":"2023-07-11T21:49:09.000Z","size":71,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-10T05:31:56.628Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/connectomicslab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-15T07:58:57.000Z","updated_at":"2025-03-12T02:44:01.000Z","dependencies_parsed_at":"2023-03-30T17:22:57.447Z","dependency_job_id":null,"html_url":"https://github.com/connectomicslab/hcp-behavioral-domains","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/connectomicslab/hcp-behavioral-domains","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connectomicslab%2Fhcp-behavioral-domains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connectomicslab%2Fhcp-behavioral-domains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connectomicslab%2Fhcp-behavioral-domains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connectomicslab%2Fhcp-behavioral-domains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connectomicslab","download_url":"https://codeload.github.com/connectomicslab/hcp-behavioral-domains/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connectomicslab%2Fhcp-behavioral-domains/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-16T12:21:43.968Z","updated_at":"2026-01-16T12:21:44.048Z","avatar_url":"https://github.com/connectomicslab.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exploring the Latent Structure of Behavior Using the Human Connectome Project’s Data\n\nThis is the repository to store the analysis code for the paper \"Exploring the Latent Structure of Behavior Using the Human Connectome Project’s Data\".\n\n## System Requirements\n\nTo install the required packages and run the code, you need to have a working Python installation with [Anaconda](https://www.anaconda.com/) and Git installed. It should work on any operating system, but has only been tested on Ubuntu 20.04.4 LTS.\n\n## Installation\n\n### Get the code\n\nRun in a terminal:\n\n`git clone https://github.com/connectomicslab/hcp-behavioral-domains.git`\n\n### Install the Conda Environment\n\nFrom the folder you installed this repository in, you can run this to install the conda environment from the `environment.yml` file:\n\n`conda env create -f environment.yml`\n\nThen activate it via\n\n`conda activate hcp-behavioral-domains`\n\n## Generate Factor Scores\n\nTo generate the factor scores and loadings yourself you can use the `pipeline.py` script. This will call the exploratory factor analysis pipeline as described in the paper, including preprocessing. It will output the factor scores and loadings.\n\nYou need to provide the path to the unrestricted and the restricted behavioral data, as well as a list of the subject IDs you want to process and an output directory. You need to call it from the root directory of this repository:\n\n`python pipeline.py /path/to/unrestricted/hcp_behavioral.csv /path/to/restricted/hcp_behavioral_RESTRICTED.csv /path/to/subjects/subject_IDs.csv /path/to/output/directory`\n\nThe script expects the subject IDs to be separated by returns, in one column. The HCP behavioral data can be used as they come when downloaded from [ConnectomeDB](https://db.humanconnectome.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnectomicslab%2Fhcp-behavioral-domains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnectomicslab%2Fhcp-behavioral-domains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnectomicslab%2Fhcp-behavioral-domains/lists"}