Coder Social home page Coder Social logo

xgx's Introduction

Overview

This site contains the code used to generate the xGx website for Exploratory Graphics.

This repository displays suggested plots to pursue when exploring different PK/PD datasets, with a focus on exploring the Dose-Exposure-Response relationship. This site is a collection of exploratory plots and code, and could serve as a checklist of graphs someone might create for certain projects.

Many of the codes on the site use functions that we have found to be helpful while exploring PK/PD data. We compiled these helpful functions into the xgxr R-package, which is available on CRAN, and GitHub.

The contents of the xgx repository are as follows:

  • The index.html file is the main page that links to all others.
  • The majority of files and folders in the root directory are for displaying the website.
  • The files most likely to be of interest to you are stored in these 3 subdirectories
    • Data - contains the datasets
    • R - contains R functions
    • Rmarkdown - contains Rmarkdown documents that make up the subpages
  • If you update any of the files in the Rmarkdown folder, then to recompile the site, execute "Rmarkdown/000_render_site.R" in R

Most of the Rmarkdown scripts use caching so that recompiling is quick. However, when developing the site, if you change any dependencies (e.g. functions in the R folder or data in the Data folder) you should delete the cache. This means deleting all the folders in Rmarkdown that end in "_cache" DO NOT DELETE SiteResources.

In order to add links to the website, do the following:

  • Edit the Rmarkdown/_site.yml. Under the menu of interest, add a text and href entry - follow other examples
  • Edit the Rmarkdown/SiteResources/nav_icon.html. Under the menu of interest, add the link and name.
  • Then recompile with 000_render_site.R

xgx's People

Contributors

faribas avatar iamstein avatar margoal1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.