Tips and Tricks to Create In-text Tables in Clinical Trial Repor6ng Using SAS

Similar documents
Formatting Highly Detailed Reports: Eye-Friendly, Insight-Facilitating

Practically Perfect Presentations Cynthia L. Zender, SAS Institute, Inc., Cary, NC

Data Presentation. Paper

Creating Customized Patient Profiles using SAS ODS RTF and PROC TEMPLATE. Andrea Ritter, Biostatistics, Quintiles Inc.

IT S THE LINES PER PAGE THAT COUNTS Jonathan Squire, C2RA, Cambridge, MA Johnny Tai, Comsys, Portage, MI

Pros and Cons of Interactive SAS Mode vs. Batch Mode Irina Walsh, ClinOps, LLC, San Francisco, CA

How to Create a Custom Style

Combining Text and Graphics with ODS LAYOUT and ODS REGION Barbara B. Okerson, HMC, Richmond, VA

ABSTRACT INTRODUCTION

Run your reports through that last loop to standardize the presentation attributes

Indenting with Style

Overview 14 Table Definitions and Style Definitions 16 Output Objects and Output Destinations 18 ODS References and Resources 20

Prove QC Quality Create SAS Datasets from RTF Files Honghua Chen, OCKHAM, Cary, NC

A First Look at the ODS Destination for PowerPoint

Presentation Quality Bulleted Lists Using ODS in SAS 9.2. Karl M. Kilgore, PhD, Cetus Group, LLC, Timonium, MD

DESCRIPTION OF THE PROJECT

ODS for PRINT, REPORT and TABULATE

An Introduction to Creating Multi- Sheet Microsoft Excel Workbooks the Easy Way with SAS

An Introduction to PROC REPORT

Increasing Student Progress Monitoring via PROC REPORT and ExcelXP Tagset

Accessible Formatting for MS Word

ODS/RTF Pagination Revisit

Using ODS Object Oriented Features To Produce A Formatted Record Layout

SAS with Style: Creating your own ODS Style Template

PharmaSUG China 2018 Paper AD-62

Table 1 in Scientific Manuscripts; Using PROC REPORT and the ODS System Carter Sevick, DoD Center for Deployment Health Research, San Diego, CA

Programming Beyond the Basics. Using the DATA Step to Create Bar Charts: The ODS Report Writing Interface Randy Herbison, Westat

Watch the video below to learn more about formatting cells in Excel. *Video removed from printing pages. To change the font size:

You Did That Report in SAS!?: The Power of the ODS PDF Destination

Generating Customized Analytical Reports from SAS Procedure Output Brinda Bhaskar and Kennan Murray, RTI International

This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 4.0 License.

Manipulating Statistical and Other Procedure Output to Get the Results That You Need

Seagate Crystal Reports 8 and Hyperion Essbase

A Way to Work with Invoice Files in SAS

My Reporting Requires a Full Staff Help!

Essential ODS Techniques for Creating Reports in PDF Patrick Thornton, SRI International, Menlo Park, CA

Google Sites Guide Nursing Student Portfolio

The REPORT Procedure CHAPTER 32

USER GUIDE MADCAP FLARE Tables

INFORMATION AND COMMUNICATION TECHNOLOGY 0417/03. Paper 3 Data Analysis and Website Authoring For examination from 2020

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

Paper PO07. %RiTEN. Duong Tran, Independent Consultant, London, Great Britain

Combining TLFs into a Single File Deliverable William Coar, Axio Research, Seattle, WA

TLFs: Replaying Rather than Appending William Coar, Axio Research, Seattle, WA

This paper describes a report layout for reporting adverse events by study consumption pattern and explains its programming aspects.

YOUR LOGO HERE TITLE HERE: SUBTITLE HERE. Document No. HERE. Prepared for Put Name and Client Logo Here

Using Adobe Contribute 4 A guide for new website authors

Automating the Documentation of Oracle Clinical Database Specifications Kyle McBride, Instat Consulting Inc., Chatham, NJ

FILE FORMAT: Did you save the document/presentation as the most current file format (i.e.,.docx,.pptx, or.xlsx)

Basics of Accessible MS Office Documents

SAS (Statistical Analysis Software/System)

Creating Forms. Starting the Page. another way of applying a template to a page.

Data Presentation ABSTRACT

Quick Results with the Output Delivery System

Enhanced Swimmer Plots: Tell More Sophisticated Graphic Stories in Oncology Studies

Provider toolkit. A guide to using the National Cervical Screening Programme resources. 1 National Cervical Screening Programme provider toolkit

Lesson 5 Introduction to Cascading Style Sheets

Mastering EA Document Style Sheets

PharmaSUG Paper TT10 Creating a Customized Graph for Adverse Event Incidence and Duration Sanjiv Ramalingam, Octagon Research Solutions Inc.

P3e REPORT WRITER CREATING A BLANK REPORT

Figure 1. Table shell

Rich Text Editor Quick Reference

HTML for the SAS Programmer

And Now, Presenting... Turn the Tables on Boring Reports with SAS 9.2 and RTF Tagset Options Louise S. Hadden, Abt Associates Inc.

QUERIES BY ODS BEGINNERS. Varsha C. Shah, Dept. of Biostatistics, UNC-CH, Chapel Hill, NC

Zen Garden. CSS Zen Garden

There s No Such Thing as Normal Clinical Trials Data, or Is There? Daphne Ewing, Octagon Research Solutions, Inc., Wayne, PA

HHS.gov. PDF File 508 Checklist. Print this webpage to use as a checklist or keep at your desk for a handy reference.

Creating a Worksheet and an Embedded Chart in Excel 2007

Square Peg, Square Hole Getting Tables to Fit on Slides in the ODS Destination for PowerPoint

Microsoft Word 2010 Certification Test Review

ODS LAYOUT is Like an Onion

The Fantastic Four: Running Your Report Using the TABULATE, TRANSPOSE, REPORT, or SQL Procedure

ODS DOCUMENT, a practical example. Ruurd Bennink, OCS Consulting B.V., s-hertogenbosch, the Netherlands

Designing Custom Forms. Paula Callan

Producing Summary Tables in SAS Enterprise Guide

ODS or DDE for Data Presentation -- A Preliminary Comparison of Output from Different Sources John He, Cephalon, Inc.

A Patient Profile Using ODS RTF PhilaSUG Spring Terek Peterson, MBA June 17, 2004

Forms Design Best Practice Front Office

Automated Macros to Extract Data from the National (Nationwide) Inpatient Sample (NIS)

Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS. Vincent DelGobbo, SAS Institute Inc.

ICT IGCSE Practical Revision Presentation Web Authoring

Appendix D CSS Properties and Values

Customized Flowcharts Using SAS Annotation Abhinav Srivastva, PaxVax Inc., Redwood City, CA

Software License Agreement

AASHTO Materials Standard Template Users Guide

Tips and Tricks with MS Word and Mac OSX

Survey Design, Distribution & Analysis Software. professional quest. Whitepaper Extracting Data into Microsoft Excel

Wolf EMR SMART Forms Course workbook

Advanced Topics in ODS Lauren Haworth, Genentech, Inc., South San Francisco, CA

Formatting documents in Microsoft Word Using a Windows Operating System

footnote1 height=8pt j=l "(Rev. &sysdate)" j=c "{\b\ Page}{\field{\*\fldinst {\b\i PAGE}}}";

Lesson 4 Paragraph Styles

ENGINEERING DATA HUB VISUAL DESIGN SPECIFICATIONS VERSION 3. Created: 2/10/2017

Customizing Graphical Reports

Part 1. Introduction. Chapter 1 Why Use ODS? 3. Chapter 2 ODS Basics 13

Page Layout Using Tables

Utilizing SAS for Cross- Report Verification in a Clinical Trials Setting

Objectives. Objectives. Objectives. Starting Excel. Plan Ahead 3/9/2010. Excel Chapter 1. Microsoft Office 2007

The Great Escape(char) Louise S. Hadden, Abt Associates Inc., Cambridge, MA

Transcription:

Tips and Tricks to Create In-text Tables in Clinical Trial Repor6ng Using SAS By Rafi Rahi - by Murshed Siddick 1

Overview In-text tables in CTR Produc<on of in-text tables for CTR SAS built-in Templates PROC TEMPLATE code Example 1: Summary of Baseline Characteris<cs Example 2: Summary of Baseline Characteris<cs with a changed template 2

In-text tables in CTR Produced by Medical Writers in the past Increasingly the task is being handed over to the programmers Generally pre-planned and produced at the same <me as when the other TLFs are produced for the CTR appendix. Aim: Show how to create an in-text table using SAS ODS RTF des<na<on with PROC REPORT and PROC TEMPLATE 3

Produc6on of in-text tables for CTR There are many different styles of templates in SAS catalog Use an exis<ng template to generate a new one by changing different arributes, e.g. Title and footnote fonts, Body fonts ARributes for row headings and column headings Background color, Link color Internal and external border color and thickness Page setngs for display result 4

SAS Built-in Templates To see all the SAS built-in style templates anyone can use the following code segment: PROC TEMPLATE; LIST styles; RUN; 5

PROC TEMPLATE Code Header, Title and Footnote of Word table PROC TEMPLATE; DEFINE STYLE Styles.RTF1; /* Defining Template Name */ PARENT = Styles.RTF; /* Parent Style Template */ REPLACE fonts / /* Titles from TITLE statements */ 'TitleFont' = ("Calibri, Arial, Times Roman",12pt) /* Table column and row headings */ 'headingfont' = ("Arial, Times Roman",10pt, Bold) /* Data in table cells */ 'docfont = ("Arial, Times Roman",10pt) /* Footnotes from FOOTNOTE statements */ 'footfont' = ("Calibri, Times Roman",10pt); 6

PROC TEMPLATE Code Header, Title and Footnote of Word table /* Links, text color, row/column header, page background color */ REPLACE color_list / 'link' = blue 'fg' = black 'bgh' = white 'bg' = white; /* Header Attributes */ CLASS Header / verticalalign = top; /* Title and Footnote Attributes */ CLASS TitlesAndFooters / font = Fonts('TitleFont') color = color_list('link') textalign = left frame = void; 7

PROC TEMPLATE Code Main body of Word table /* Page setting for display results */ REPLACE Body from Document / bottommargin =.7in topmargin =.7in rightmargin =.7in leftmargin =.7in; /* internal and outside borders, the width of the borders and rules */ REPLACE Table from Output / frame = box rules = all borderwidth = 1pt bordercolor = color_list('fg') width = 100% asis = on; END; RUN; 8

Example 1: Summary of Baseline Characteris6cs ODS RTF and PROC REPORT /* Define page orientation, option to not print date and page number */ /* ODS destination is closed for the Listing */ /* An escape character is specified to perform in-line formatting */ OPTIONS NODATE NONUMBER ORIENTATION=PORTRAIT; ODS LISTING CLOSE; ODS ESCAPECHAR = '^'; /* Specify destination path for RTF file and select a style template */ /* Define device type for RTF (only supports: SASEMF, PNG and JPEG) */ /* Define titles, footnotes and page numbers (i.e. page x of y)*/ ODS RTF FILE="&pathname./t_demo.rtf" STYLE=styles.RTF1 DEVICE=SASEMF; TITLE 'Table: Patients baseline characteristics'; FOOTNOTE J=CENTER 'Page ^{thispage} of ^{lastpage}'; 9

Example 1: Summary of Baseline Characteris6cs ODS RTF and PROC REPORT PROC REPORT DATA=final HEADLINE LS=140 PS=50 SPACING=3 SPLIT='$'; COLUMN (decodeord block decode col1 col2 coltot); DEFINE decodeord / ORDER ORDER=INTERNAL NOPRINT; DEFINE block / ORDER ORDER=INTERNAL NOPRINT; DEFINE decode / ' ' FLOW STYLE={WIDTH=27%}; DEFINE col1 / "DummyRed$(N =&col1.)" WIDTH=26 STYLE={WIDTH=12%}; DEFINE col2 / "DummyGreen$(N =&col2.)" WIDTH=26 STYLE={WIDTH=12%}; DEFINE coltot / "Total$(N =&coltotal.)" WIDTH=26 STYLE={WIDTH=10%}; /*Include conditional format for specific rows, columns, footnotes */ RUN; ODS RTF CLOSE; ODS LISTING; OPTIONS DATE NUMBER; 10

Example 1: Output produced in the RTF format 11

Example 2: Summary of Baseline Characteris6cs with changed template In the PROC TEMPLATE we will update the following code in red - /* Header Attributes */ CLASS Header / foreground = White; /* Row and Column header background */ REPLACE color_list / 'bgh' = cx4f81bd /* Borders color*/ REPLACE Table from Output / bordercolor = color_list('bgh') 12

Example 2: Output produced with the new changes 13

Acknowledgement Thank you to Md. Jabrul Islam for all his support in preparing this paper and presenta<on. 14

Ques6ons or Comments? Please feel free to contact Rafi Rahi rafi@shaficonsultancy.com www.shaficonsultancy.com