LOAD
Select "Own data" to load your data in SPSS, Excel, R or plain text format from a file.
Once the data is loaded satisfactory, click on "OK" button and the second panel ("Step 2. Select variables") will open automatically.

Also you can select example data already present in the compareGroups package (REGICOR and PREDIMED) and SNPs from SNPassoc package.

Example data sets:



Notes:
SELECT


Once your data are loaded satisfactory, this panel will be opened automatically.

A list of all variables will apear on the left side list. Use the "<>" button to move the variables from the left side to the right side list and viceversa. Once you have chosen which ones are analysed and which are discarded, press on "Update" button. The remaining variables in the left side will be the ones analysed, i.e. by rows in the descriptive tables.

Type


Set the type of your variables to be analysed as:

Appropiate statistical tests to compare among groups (if specified) are computed depending on the type (normal, non-normal or categorical).

To know more about the tests performed and the functions used in each case see the published paper in JSS.

Use the "Format" tab from "Step 4. Display" panel to change how statistics are displayed (e.g. to show or not the percentages, etc.)

Response


Select which variable indicates the group.

Hide


Choose the category you want to be hidden for categorical variables.

Additionally, in the "hide no" input text window you can type the category which represents "no" in the sense that the category named as indicated for all binary variables are hidden.

Subset


Type a selecting criteria to choose which individuals are included.

Also, you can select a subgroup of individuals for each variable. In any case, a logical expression in R language must be typed ("==" to compare, "&" to indicate "and", "|" to indicate "or" and "!" to indicate "not").

To indicate the category, you must type the number that appears in the "VALUES" table on right side of the application instead of its name. For example, for gender, type "1" instead of "male" and "2" instead of "female", if "male" is the first category and "female" is the second.

OR/HR


Set the Odds Ratio (OR) when response is binary or Hazard Ratios (HR) for right censored response.

You can specify the reference category when computing the OR or HR for the categorical variables. For continuous variables, the scale can be changed. This may be very useful for variables with a wide range such as total cholesterol, where it makes more sense to display the OR/HR for each 10 units of change rather than a single unit

Show


Choose what to be displayed in the bivariate table:

Format


Specify how to display the mean and standard deviation, the quantiles and frequencies

Decimals


Set the number of decimals to be displayed in the bivariate table, for descriptives, p-values and for OR / HR.

Label


Change the "key" headers of the descriptive table such as "ALL", "p-value", etc.

SAVE


Save the bivariate table in different formats: PDF, CSV, TXT, HTML, Word (.docx) or Excel (.xlsx).

If PDF format is selected, size can be specified as well as landscape format. These options may be useful when the table is big or contains lots of columns.

SUMMARY


In this tab you can visualize some basic information about the described variables:

VALUES


In this tab the first rows of the data set are displayed.

By making use of DataTable library, it is possible to specify how many rows are visible and navigate through the data set.

Alo it is possible to order the registries just by clicking on the arrow beside each column name.

Moeover, it is very easy to filter rows by settings the range for numerical variables or levels for categorical variables in the widgets just below each column name.

TABLE


In this tab the bivariate table is shown.

use the slider input to make it smaller or bigger.

Press the " info " button to display the " info table " containing, for each descripted variable, how many observations are available for each group, whether it is treated as normal, non-normal or categorical, which criteria, if any, has been used to select a subset of individuals and if, the Odds Ratio or Hazard Ratio is computed, the factor for which the variable has been multiplied.

PLOT


In this tab univariate or bivariate (taking into account the groups if proceeds) plots of selected variable are displayed

Click on the plot to save it in different formats: PDF, bmp, jpg, png and tiff.

SNPs


In this tab descriptives of SNPs (Single Nucleotide Polymorphims) with appropriate statistics and tests for these genetic variants are displayed.

To perform this analysis, only SNPs variables can be selected.

Note that a factor response to display genotype frequencies by groups is permitted but not a time-to-event response variable.

HELPCG

compare~Groups Project


HELPWUI

compare~Groups Web User Interface (WUI)

This WUI is designed to allow clinicians and scientists to take advantage of the functionality of compareGroups to analyse their epidemiological data, but without the need to install or learn how to use R.

This system has all of the functionality of the current command line version of compareGroups, but has the advantage of allowing you to load and analyse your data on any device with an internet connection.

This WUI has been build entirely using Shiny tools.

DATASECURITY

Data Security when using the compare~Groups WUI

compareGroups is developed by experienced researchers who are actively involved in epidemiological research on human subjects. We understand very well how important it is to guarantee data confidentiality and security, and we have designed the compareGroups WUI so that your data will remain as secure as at your own institute.

Will my data be safe if I load them into the compareGroups WUI?
The compareGroups WUI is hosted on a secure cloud server platform, which guarantees the physical and electronic security of the WUI, and therefore of any data that are loaded into it. Data loaded into the WUI are transmitted over a secure connection via HTTPS.

What happens to my data when I load them into the compareGroups WUI?
If you're familiar with R, you'll know that it loads all data and performs all calculations within the  RAM  allocated for that R session. This means that it never writes data to the disk, and when the R session ends, all data it has been working on are eliminated.

Accessing the compareGroups WUI page starts a dedicated session of R to read and manipulate your data, and compute your results. However, this R session never saves data to the hard disk of the server it's running on, and only sends results to the WUI, either in the form of displayed tables or plots, or as files to be downloaded by the the user via the SAVE panel.

When you close your browser window, the R session is terminated, and all data are lost. To can verify this for yourself by simply re-loading the WUI page, after which you will see that no data are loaded.  compareGroups developers  only have access to the underlying R code that generates that WUI and performes the calculations, and can never gain access to data that have been loaded into a remote session.

If you have any further concerns or questions about the security of your data when using the compareGroups WUI, please get in touch with us via the contact form.