» Articles » PMID: 27004225

Reshaping and Aggregating Data: an Introduction to Reshape Package

Overview
Journal Ann Transl Med
Date 2016 Mar 23
PMID 27004225
Citations 34
Authors
Affiliations
Soon will be listed here.
Abstract

It is common that data format extracted from clinical database does not meet the purpose of statistical analysis. In clinical research, variables are frequently measured repeatedly over the follow-up period. Such data can be displayed either in wide or long format. Transformation between these 2 forms can be challenging by hand. Fortunately, there are sophisticated packages in R environment. Data frame should firstly be melted and then casted to format that you want. Aggregation over unique combination of id variables is also allowable. Additionally, the article also introduces 2 functions colsplit() and funstofun() that can be useful in some circumstances.

Citing Articles

Coix Seed Oil Alleviates DSS-Induced Ulcerative Colitis via Intestinal Barrier Repair and Ferroptosis Regulation.

Zeng Y, Li N, Deng B, Gu Y, Lu S, Liu Y J Inflamm Res. 2025; 18:2557-2581.

PMID: 39995826 PMC: 11849537. DOI: 10.2147/JIR.S501745.


Genomic Monitoring of a Reintroduced Butterfly Uncovers Contrasting Founder Lineage Survival.

Halford G, Maes D, Yung C, Whiteford S, Bourn N, Bulman C Evol Appl. 2025; 18(2):e70074.

PMID: 39925617 PMC: 11802331. DOI: 10.1111/eva.70074.


Insight into dysregulated VEGF-related genes in diabetic retinopathy through bioinformatic analyses.

Wang X, He X, Li Z, Mu T, Pang L, Ma W Naunyn Schmiedebergs Arch Pharmacol. 2024; .

PMID: 39725717 DOI: 10.1007/s00210-024-03638-y.


Coagulation-related genes for thyroid cancer prognosis, immune infltration, staging, and drug sensitivity.

Sun Y, Zhang Y, Yang Y, Liu W, Yin D Front Immunol. 2024; 15:1462755.

PMID: 39497824 PMC: 11532168. DOI: 10.3389/fimmu.2024.1462755.


Integrated immunogenomic analyses of single-cell and bulk profiling construct a T cell-related signature for predicting prognosis and treatment response in osteosarcoma.

Niu C, Wang W, Xu Q, Tian Z, Li H, Ding Q Discov Oncol. 2024; 15(1):579.

PMID: 39436466 PMC: 11496454. DOI: 10.1007/s12672-024-01461-8.