1 / 6

Data Visualization with Serenity: A User-Friendly Interface for Real-Time Data Manipulation in R

Serenity is a user interface that allows you to visualize and manipulate data in real-time. It's easier than MS Excel and visually pleasing. This course covers the basics of using Serenity for data visualization.

jcarrie
Download Presentation

Data Visualization with Serenity: A User-Friendly Interface for Real-Time Data Manipulation in R

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. [Course Name] Data VisualizationSerenity Protocol Serenity is a User Interface that allows you to quickly visualize data and manipulate it in real-time. It’s easier than MS Excel (once you learn the basics) and more visually pleasing. It is a program written with R code (all the rage in science). This protocol covers the basics, but feel free to explore and try things out! Step 1: Creating an account on QUBES Go to qubeshub.org/register/ Create an account. If you have a Google acct, you can log in that way as well

  2. Step 1 continued: Creating an account Type in “Your Institution” Select “Type of Institution” Select “Required for class” Select “No, don’t send me emails” You are not a robot, right? Select “Yes” You may read the Terms of Use if you like. This is a non-profit education-based organization. Create your account 

  3. Step 2: Setting up Serenity on your Dashboard On your Dashboard find the “Add Modules” button (top right) Select the “My Tools” module and “Install Module” button to add it to your dashboard. Under “My Tools” select “All Tools” Favorite (the heart icon) “R Studio” and “Serenity” Then click the gray box next to “Serenity” to start tool Some terminology: Session – The current instance of analysis. Similar to playing a video game. You can start a “New Session” or continue with an “Old Session.” Serenity only allows 3 active sessions at a time, so you’ll have to remove some at times (from the dashboard). .csv - Comma-separated values filetype. A basic transferable file format that creates a datatable. MS Excel reads in .csv files easily. {integer}, {numeric}etc – You will see this next to your variable names. It indicates what type of variable it is. {factor} = categorical variable (e.g. eye_color = “blue”, “brown”…). {numeric} = continuous variable (e.g. height = #s ).

  4. Step 3: Serenity Interface 3 1 2 6 7 13 5 4 8 10 9 12 11 The main page with your Data “Look under the hood” at the R code “Refresh” can reset your code if you encounter an error etc. “New session” if you want to restart entirely. *Note, you can only have up to 3 sessions going on at a time. You will have to close sessions from your dashboard. What dataset are you looking at? Select “csv”, always “csv” (this is a basic spreadsheet filetype that excel can read too) Where you select your “DatasetName.csv” file to upload Want to clear a dataset from the current session? Do that here. Main view of the dataset (in table form) Actively check out your datatable, What format is each column? Sort data etc. The fun part, visualizing the data. *See explanation later Just like a pivot table in excel. A means of temporarily summarizing data. Create new variables! Very cool. Experiment with this. Avoid these two tabs for now.

  5. Step 4: Pulling in your dataset • Use the buttons to upload your “.csv” data table • In the “View” tab, check that the {variable types} correspond to what you expect. Categorical variables are {factor} and continuous variables are {numeric} • Step 5: Visualize! • What is your question? • What is your hypothesis? • What are the independent and response variables? • Are they continuous or categorical variables? • What is the appropriate representation of your data to address your hypothesis? • (See next page) Possible Problems: “Aagh! I’m stuck and can’t get back into Serenity from the Dashboard” - On the Dashboard - My Sessions you should see how many instances (sessions) you are running. Terminate one or all to reset Serenity. Then you can restart Serenity and reload your data. “Aagh! I’ve manipulated the data in a weird way and I don’t want it that way! How do I reset it?” -Use “Remove data from memory” on main page of Serenity to remove your data. “Refresh” the session and re-add it.

  6. Step 5 continued: Visualize! Dataset Filter data (can enter formula to subset data) List of variables {data type} Create multiplots by categorical variable Color by ____? Flip the axis. Other options here include a regression line etc. Depends on Plot-type Bin width for bar charts Opacity of color Plot size Plot type – different plot types for different analyses Download your graph (found in upper right)

More Related