Skip to main content

A statistical power analysis application

Project description

superpower-gui

This application provides a graphical wrapper to access functions in the superpower R pacakge.

Latest Release

    <iframe
        width="400"
        height="300"
        src="https://www.youtube.com/embed/5cNr5Dvzvrs"
        frameborder="0"
        allowfullscreen
    ></iframe>

Run the Development Version on MyGeoHub

  1. Log into https://mygeohub.org
  2. Go to https://mygeohub.org/tools/superpower/
  3. Click the "Launch Tool" button

png

Installing superpower-gui

Installing the superpower-gui locally is pretty straight forward with one exception. The SuperPower R package needs to be installed on your machine, and Python needs to know where to find your prefered version of R. In most cases, superpower_gui will install it for you, but if you have trouble you may need to install it on your own and use a config file to specify its location.

Installing from PyPi

pip install superpower-gui

Installing From Source

git clone https://github.rcac.purdue.edu/brewer36/superpower_gui.git

cd superpower_gui

pip install superpower_gui

Installing SuperPower R Package

From Github

This application does not run without the companion R package, Superpower. You can install it any way you like. The application will check every library location listed by .libPaths. If the package isn't installed, the application can do that for you, but you must provide the path to the package source file. Since the package doesn't release these yet, so you will have to create one by building it from the original repository.

git clone https://github.rcac.purdue.edu/brewer36/SuperPower.git`
R CMD build SuperPower
R CMD INSTALL Superpower_<version>.tar.gz

From a source file

Open ~/.superpower_gui/config.ini source file. You can optionally provide a library location if you'd like the source file to be installed in a particular place.

['R']
source = <source_dir>
lib_loc = <optional_lib_loc>

How to use

This application runs in a single cell of a Jupyter Notebook, or an Javascript enabled IPython environment.

#hide_output
from superpower_gui.controller import Controller

controller = Controller()
controller

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superpower_gui-0.0.6.tar.gz (32.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superpower_gui-0.0.6-py3-none-any.whl (58.9 kB view details)

Uploaded Python 3

File details

Details for the file superpower_gui-0.0.6.tar.gz.

File metadata

  • Download URL: superpower_gui-0.0.6.tar.gz
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for superpower_gui-0.0.6.tar.gz
Algorithm Hash digest
SHA256 45dd0be99d94c65985d6897bfd48913caa1e82c98edcf96b983739277ffa35af
MD5 705ea92db89578cd69b6c27222b6c2ef
BLAKE2b-256 5a6e49c8ca64a7b5268e4181a665185c4bc2a8f86691fb67c37b1622b38da9a2

See more details on using hashes here.

File details

Details for the file superpower_gui-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: superpower_gui-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 58.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for superpower_gui-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1311b64ce77d9fd2e82d252a4419729eb70e1ca3a5f6b0b47df4f8db817fb5ec
MD5 5fbb6de6ae1ced545cc4229a68f15262
BLAKE2b-256 b602d5c442092a735fbb5f99bbc95ebce672853aa59f5dfa4e2b299cfc810031

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page