Code Monkey home page Code Monkey logo

request's Introduction

request

Codecov test coverage Travis build status

The goal of request is to ...

Installation

You can install the released version of request from CRAN with:

install.packages("request")

Example

This is a basic example which shows you how to solve a common problem:

library(request)
## basic example code

sampleList$sampleID
sampleList$samplePositionInBox
sampleList$boxID

requestList <- makeRL(sampleList, "method")

  slots <- getSampleSlots(numberOfSamples, "method")
  slots$plateNumber
  slots$slotPosition

  newPositions <- getPositions(sampleList, slots)
  newPositions$samplePositionOnPlate
  
requestList$sampleID
requestList$samplePositionInBox
requestList$boxID
requestList$samplePositionOnPlate
requestList$plateNumber

runOrder <- makeRO(requestList, "method")


method@availableSlots = list()
method@methodSpecificSamples = list(sample, position)

request's People

Watchers

 avatar

Forkers

siobhon-egan

request's Issues

fix display for layout

currently missing samples are not displayed properly and only shift the table entries

NMR holder number

Issue with revised NMR run order generation.
The "HOLDER" is not formatting correctly and is giving a new position for each experiment even though sample is the same.

Not sure if it is getting this information from getrun.r.

Issues noticed by Philipp from diabetes/exercise run orders.

check NMR run oder

check how columnwise run order would affect the numbering of the experiments (expno) if not then turn nmr columnwise

findAllEmptyPositions

Getting an error for the function findAllEmptyPositions

for (s in which(is.na(selectedSamples$wellPos))){
  pos <- findAllEmptyPositions(selectedSamples, boxDim = c(8, 10), by = "col")$position[1]
  RC <- posToRC(pos, collapse = TRUE)
  selectedSamples$wellPos[s] <- pos
  selectedSamples$wellRC[s] <- RC
}

Output

Error in findAllEmptyPositions(selectedSamples, boxDim = c(8, 10), by = "col") : 
  could not find function "findAllEmptyPositions"

It works when I manually import function into R however does not recognise it when I load the request package.

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.