Here is the design of a clinical trial:

Official Title: Effects of Intradialytic Inspiratory Muscle Training at Different Intensities on Diaphragm Hypertrophy and Functional Capacity in Patients Undergoing Hemodialysis: a Randomized Clinical Trial.

Included conditions:
- Kidney Failure, Chronic

Study Armgroups:
- {'label': 'IMT 50', 'type': 'EXPERIMENTAL', 'description': 'IMT intervention: IMT50 - 50% of the maximum inspiratory pressure (MIP), using equipment "Threshold IMT®" or "Power Breathe®", which are respiratory incentives of linear pressure load, where the patient uses a nose clip and breathes through a mouthpiece with a resistance in the inspiratory branch, using the respective MIPs.', 'interventionNames': ['Device: Inspiratory Muscle Training']}
- {'label': 'IMT 30', 'type': 'EXPERIMENTAL', 'description': 'IMT intervention: IMT30 - 30% of the maximum inspiratory pressure, using equipment "Threshold IMT®" or "Power Breathe®", which are respiratory incentives of linear pressure load, where the patient uses a nose clip and breathes through a mouthpiece with a resistance in the inspiratory branch, using the respective MIPs.', 'interventionNames': ['Device: Inspiratory Muscle Training']}
- {'label': 'IMT 10', 'type': 'SHAM_COMPARATOR', 'description': 'IMT intervention: IMT10 - 10% of the maximum inspiratory pressure, using equipment "Threshold IMT®" or "Power Breathe®", which are respiratory incentives of linear pressure load, where the patient uses a nose clip and breathes through a mouthpiece with a resistance in the inspiratory branch, using the respective MIPs.', 'interventionNames': ['Device: Inspiratory Muscle Training']}

Interventions:
- {'type': 'DEVICE', 'name': 'Inspiratory Muscle Training', 'description': 'Patients will be submitted to three weekly IMT sessions in three different intensities for a period of twelve weeks, totaling 36 sessions.', 'armGroupLabels': ['IMT 10', 'IMT 30', 'IMT 50']}

Primary Outcomes:
- {'measure': 'Change in Functional Capacity (6MWT)', 'description': 'The 6MWT is a useful, validated, and well-tolerated tool that requires no specialized equipment, used to determine the functional capacity of individuals with chronic kidney disease. 19 In addition, the 6MWT is able to represent the submaximal level of functional capacity (e.g., daily physical activity). The results will be defined as the difference in meters in distance covered at weeks 0 and 12. Participants will be instructed to walk on a flat, straight corridor, and will be told that the objective of the test is to walk as far as possible for six minutes at a self-selected speed.', 'timeFrame': 'Baseline, 3 months'}
- {'measure': 'Change in Functional Capacity (CPET)', 'description': 'Patients will be submitted to CPET on an exercise bike, using an incremental loading protocol according to the guidelines published by the American Thoracic Society / American College of Chest Physicians.', 'timeFrame': 'Baseline, 3 months'}
- {'measure': 'Change in diaphragm hypertrophy', 'description': 'Mode B ultrasound (EnVisor C, Philips, Bothell, Washington) with a 12.0 MHz ultrasound probe (L12-3, Philips) will be used for the image of the diaphragm in the apposition zone, the vertical section that rests against the lateral portion of the right rib cage, with the method described by Wait et al.', 'timeFrame': 'Baseline, 3 months'}

Please estimate the sample size based on the assumption: 
80% power, 5% significance level, and a 20% increase to control for possible losses in follow-up.
Sample size calculation
        The results obtained in the study by Campos et al17 were inserted using the WINPEPI software. They found a difference of 50% in the increase in functional capacity measured by the 6MWT in the training group with 50% of MIP, with 20% SD. Based on these data, the minimum need for a sample with 30 individuals was identified using 80% power and 5% significance, that is, 10 for each group. The sample size will be increased by 20% to control possible losses in the follow-up, thus finalising a sample of 36 individuals, 12 for each group.