{"id":20131632,"url":"https://github.com/avallecam/hemogr","last_synced_at":"2026-06-09T00:31:17.536Z","repository":{"id":48493474,"uuid":"238349977","full_name":"avallecam/hemogr","owner":"avallecam","description":"Analysis code for the manuscript \"Hematological profiles in patients infected with malaria in an endemic area of ​​Peru\"","archived":false,"fork":false,"pushed_at":"2022-10-12T20:33:03.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-09T13:01:08.892Z","etag":null,"topics":["gee","longitudinal-data","malaria","r"],"latest_commit_sha":null,"homepage":"https://doi.org/10.17843/rpmesp.2022.393.11908","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avallecam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-05T02:16:33.000Z","updated_at":"2023-08-18T11:47:39.000Z","dependencies_parsed_at":"2023-01-19T23:15:24.466Z","dependency_job_id":null,"html_url":"https://github.com/avallecam/hemogr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/avallecam/hemogr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avallecam%2Fhemogr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avallecam%2Fhemogr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avallecam%2Fhemogr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avallecam%2Fhemogr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avallecam","download_url":"https://codeload.github.com/avallecam/hemogr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avallecam%2Fhemogr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34086665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gee","longitudinal-data","malaria","r"],"created_at":"2024-11-13T20:49:41.752Z","updated_at":"2026-06-09T00:31:17.523Z","avatar_url":"https://github.com/avallecam.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# haematological profile of malaria patients\n\n\n\n[![DOI](https://zenodo.org/badge/238349977.svg)](https://zenodo.org/badge/latestdoi/238349977)\n\n\n\n## project structure\n\n- `hemo_db.R` -\u003e import and cleaning\n- `hemo_bygroup.R` -\u003e cross-sectional analysis using baseline data\n- `hemo_byvisit.R` -\u003e longitudinal analysis using folow-ups!\n\n\n## método: analisis longitudinal\n\n1. definir variable dependiente\n\n  * Var. dependiente = cada una de las mediciones hematológicas\n  * Y: gaussian distribution identity link function\n\n2. definir variables independientes\n  \n  * Var. independiente [time-invariant] = infeccion (especie de plasmodium, dicotomica)\n  * Var. independiente [confusores] = edad (continua), sexo (dicotómica)\n\n3. objetivo:\n  \n  * test if, in average, the change of Y in time is related with a time-invariant exposure\n  * this translates as including an interaction term between Y and the time-invariant exposure (Vittinghoff, 2nd edition, p271)\n\n4. correlation structure\n  * the repeated measurements were taken through time\n  * only three time measurements per pacient were included\n  * the measurement interval times are not equally spaced\n  * autoregressive process 1 (ar1) because the correlation between times differ\n\n5. clustered data\n  * each pacient had 3 visits each with one measurement for all the haematological variables\n  * dataset is in a long (tidy) format\n\n--------\n\n## historial\n\n__20180103__\n\n- recepción de las bases\n\n- estructura:\n\n  - Controles (n=308) del año 2010\n  - Pf positivos (n=34) años 2011 y 2012\n  - Pv positivos (n=93) año 2011\n\n__20181201__\n\n- importar y limpiar base de datos\n\n__20190506__\n\n- union de base de datos y ejecución de análisis descriptivos\n\n__20200204__\n\n- corrección por autocorrelación debido a mediciones repetidas\n\n\n----------\n\n## citar\n\n```\n@software{andree_valle_campos_2020_4014205,\n  author       = {Andree Valle Campos},\n  title        = {avallecam/hemogr: First release},\n  month        = sep,\n  year         = 2020,\n  publisher    = {Zenodo},\n  version      = {v0.1},\n  doi          = {10.5281/zenodo.4014205},\n  url          = {https://doi.org/10.5281/zenodo.4014205}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favallecam%2Fhemogr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favallecam%2Fhemogr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favallecam%2Fhemogr/lists"}