Code Monkey home page Code Monkey logo

mirzadeh_cal's People

Contributors

ckfaber avatar

Watchers

 avatar  avatar  avatar

Forkers

saishilpa89

mirzadeh_cal's Issues

Plots needed

  1. Hourly food intake
  2. cumulative food intake
  3. Foodintake normalized to BW
  4. Energy Expenditure
  5. Cumulative EE
  6. Energy Balance
  7. Cumulative EB
  8. EE normalized to BW
  9. EB normalized to BW
  10. Locomotion

Colors are hard-coded in scale_fill_manual

In the tsplot function created in Cal_Plot.qmd, there remains a call to scale_fill_manual where the colors for chABC and HIchABC are hard-coded. Need to figure out how to change this so that turquoise and darkorange are applied to SEM ribbon no matter the grouping.

exp_day is computed from calendar day, instead of counting up from start of recording

Lines 89-102 of Cal_Clean.R.
This causes some issues in trying to trim days with <24h recording from photoperiod-averaged plots. Working on a fix.

df %<>%
  mutate(ZT = plyr::mapvalues(hour, from = (0:23), to = c(18:23,0:17)),.before = Sex) %>%     
  mutate(Photoperiod = as.factor(plyr::mapvalues(ZT, from = c(0:23), to = c(rep(1,12),rep(0,12)))),.before = ZT) %>%
  mutate(exp_day = plyr::mapvalues(day, from = unique(day), to = 1:length(unique(day))),.after = DateTime) %>%
  rename(VO2 = VO2_M, 
         Animal = ID_Code, 
         VCO2 = VCO2_M, 
         EE = kcal_hr_M, 
         RER = RER_M, 
         FoodIn.cum = FoodInA_M, 
         WaterIn.cum = WaterInA_M, 
         AllMeters = AllMeters_R,
         BodyMass = BodyMass_M,
         VH2O = VH2O_M)

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.