View source: R/brapi_post_vendor_orders.R
brapi_post_vendor_orders | R Documentation |
Submit New Order
brapi_post_vendor_orders( con = NULL, clientId = "", numberOfSamples = 0, plates = "", requiredServiceInfo = list(), sampleType = "", serviceIds = "" )
con |
list; required: TRUE; BrAPI connection object |
clientId |
character; required: TRUE; A unique, alpha-numeric ID which identifies the client to the vendor. Used to connect the order to the contract, billing, and contact info.; default: "". |
numberOfSamples |
integer; required: TRUE; The total number of samples contained in this request. Used for billing and basic validation of the request.; default: 0. |
plates |
data.frame; required: TRUE, with default: ""; data.frame object of new plates to be submitted to a vendor. Each row in the data.frame describes one submitted plate. The
The Examples Section shows an example of how to construct the |
requiredServiceInfo |
list; required: TRUE; A map of additional data required by the requested service. |
sampleType |
character; required: TRUE; The type of Samples being submitted; default: "", possible values "DNA" | "RNA" | "Tissue" |
serviceIds |
vector of type character; required: TRUE; A list of unique, alpha-numeric ID's which identify the requested services to be applied to this order. A Vendor Service defines what platform, technology, and markers will be used. A list of service IDs can be retrieved from the Vendor Specs.; default: "", when using multiple values supply as c("value1", "value2"). |
Submit a new order to a vendor
data.frame containing the orderId
brapir generator package
Other brapi_1.3:
brapi_get_allelematrices_search()
,
brapi_get_allelematrices()
,
brapi_get_attributes_categories()
,
brapi_get_attributes()
,
brapi_get_breedingmethods_breedingMethodDbId()
,
brapi_get_breedingmethods()
,
brapi_get_calls()
,
brapi_get_commoncropnames()
,
brapi_get_germplasm_germplasmDbId_attributes()
,
brapi_get_germplasm_germplasmDbId_markerprofiles()
,
brapi_get_germplasm_germplasmDbId_mcpd()
,
brapi_get_germplasm_germplasmDbId_pedigree()
,
brapi_get_germplasm_germplasmDbId_progeny()
,
brapi_get_germplasm_germplasmDbId()
,
brapi_get_germplasm()
,
brapi_get_images_imageDbId()
,
brapi_get_images()
,
brapi_get_lists_listDbId()
,
brapi_get_lists()
,
brapi_get_locations_locationDbId()
,
brapi_get_locations()
,
brapi_get_maps_mapDbId_positions_linkageGroupName()
,
brapi_get_maps_mapDbId_positions()
,
brapi_get_maps_mapDbId()
,
brapi_get_maps()
,
brapi_get_markerprofiles_markerProfileDbId()
,
brapi_get_markerprofiles()
,
brapi_get_markers_markerDbId()
,
brapi_get_markers()
,
brapi_get_methods_methodDbId()
,
brapi_get_methods()
,
brapi_get_observationlevels()
,
brapi_get_observationunits()
,
brapi_get_ontologies()
,
brapi_get_people_personDbId()
,
brapi_get_people()
,
brapi_get_programs()
,
brapi_get_samples_sampleDbId()
,
brapi_get_samples()
,
brapi_get_scales_scaleDbId()
,
brapi_get_scales()
,
brapi_get_search_germplasm_searchResultsDbId()
,
brapi_get_search_images_searchResultsDbId()
,
brapi_get_search_markers_searchResultsDbId()
,
brapi_get_search_observationtables_searchResultsDbId()
,
brapi_get_search_observationunits_searchResultsDbId()
,
brapi_get_search_programs_searchResultsDbId()
,
brapi_get_search_samples_searchResultsDbId()
,
brapi_get_search_studies_searchResultsDbId()
,
brapi_get_search_variables_searchResultsDbId()
,
brapi_get_seasons()
,
brapi_get_studies_studyDbId_germplasm()
,
brapi_get_studies_studyDbId_layouts()
,
brapi_get_studies_studyDbId_observations()
,
brapi_get_studies_studyDbId_observationunits()
,
brapi_get_studies_studyDbId_observationvariables()
,
brapi_get_studies_studyDbId_table()
,
brapi_get_studies_studyDbId()
,
brapi_get_studies()
,
brapi_get_studytypes()
,
brapi_get_traits_traitDbId()
,
brapi_get_traits()
,
brapi_get_trials_trialDbId()
,
brapi_get_trials()
,
brapi_get_variables_observationVariableDbId()
,
brapi_get_variables()
,
brapi_get_vendor_orders_orderId_plates()
,
brapi_get_vendor_orders_orderId_results()
,
brapi_get_vendor_orders_orderId_status()
,
brapi_get_vendor_orders()
,
brapi_get_vendor_plates_submissionId()
,
brapi_get_vendor_specifications()
,
brapi_post_allelematrices_search()
,
brapi_post_images()
,
brapi_post_lists_listDbId_items()
,
brapi_post_lists()
,
brapi_post_methods()
,
brapi_post_people()
,
brapi_post_phenotypes()
,
brapi_post_scales()
,
brapi_post_search_germplasm()
,
brapi_post_search_images()
,
brapi_post_search_markers()
,
brapi_post_search_observationtables()
,
brapi_post_search_observationunits()
,
brapi_post_search_programs()
,
brapi_post_search_samples()
,
brapi_post_search_studies()
,
brapi_post_search_variables()
,
brapi_post_studies_studyDbId_table()
,
brapi_post_traits()
,
brapi_post_vendor_plates()
,
brapi_put_images_imageDbId_imagecontent()
,
brapi_put_images_imageDbId()
,
brapi_put_lists_listDbId()
,
brapi_put_methods_methodDbId()
,
brapi_put_people_personDbId()
,
brapi_put_samples()
,
brapi_put_scales_scaleDbId()
,
brapi_put_studies_studyDbId_layouts()
,
brapi_put_studies_studyDbId_observations()
,
brapi_put_studies_studyDbId_observationunits()
,
brapi_put_traits_traitDbId()
Other Vendor:
brapi_get_vendor_orders_orderId_plates()
,
brapi_get_vendor_orders_orderId_results()
,
brapi_get_vendor_orders_orderId_status()
,
brapi_get_vendor_orders()
,
brapi_get_vendor_plates_submissionId()
,
brapi_get_vendor_specifications()
,
brapi_post_vendor_plates()
## Not run: # Create a connection object con <- brapi_db()$testserver # Create an example data.frame plates object containing two plates # * one 96 well plate ("PLATE_96") # * one plateless format ("TUBES") plates = data.frame( clientPlateBarcode = c("plateBarcode01", "plateBarcode02"), clientPlateId = c("plateId01", "plateId02"), sampleSubmissionFormat = c("PLATE_96", "TUBES")) # Specify samples of PlateId01 samplesPlateId01 <- data.frame( clientSampleBarCode = c("sampleBarcode0101", "sampleBarcode0102"), clientSampleId = c("sampleId0101", "sampleId0102"), column = c("01", "12"), comments = c("commentS0101", "commentS0102"), organismName = c("oName0101", "oName0102"), row = c("A", "H"), speciesName = c("sName0101", "sName0102"), tissueType = c("tType0101", "tType0102"), well = c("A01", "H12")) samplesPlateId01[["concentration"]] <- data.frame( units = c("cUnit0101", "cUnit0101"), concentration = c(0.0, 0.0)) samplesPlateId01[["taxonomyOntologyReference"]] <- data.frame( ontologyID = c("taxOnId0101", "taxOnRefId0102"), ontologyPrefix = c("taxOnPrefix0101", "taxOnPrefix0102"), ontologyTerm = c("taxOnTerm0101", "taxOnTerm0102")) samplesPlateId01[["tissueTypeOntologyRefence"]] <- data.frame( ontologyID = c("tTypeOnId0101", "tTypeOnId0102"), ontologyPrefix = c("tTypeOnPrefix0101", "tTypeOnPrefix0102"), ontologyTerm = c("tTypeOnTerm0101", "tTypeOnTerm0102")) samplesPlateId01[["volume"]] <- data.frame( units = c("vUnit0101", "vUnit0101"), value = c(0.00, 0.00)) # Specify samples of PlateId02 samplesPlateId02 <- data.frame( clientSampleBarCode = c("sampleBarcode0201", "sampleBarcode0202"), clientSampleId = c("sampleId0201", "sampleId0202"), column = c("01", "02"), comments = c("commentS0201", "commentS0202"), organismName = c("oName0201", "oName0202"), row = c("TUBE", "TUBE"), speciesName = c("sName0201", "sName0202"), tissueType = c("tType0201", "tType0202"), well = c("TUBE01", "TUBE02")) samplesPlateId02[["concentration"]] <- data.frame( units = c("cUnit0201", "cUnit0201"), concentration = c(0, 0)) samplesPlateId02[["taxonomyOntologyReference"]] <- data.frame( ontologyID = c("taxOnId0201", "taxOnRefId0202"), ontologyPrefix = c("taxOnPrefix0201", "taxOnPrefix0202"), ontologyTerm = c("taxOnTerm0201", "taxOnTerm0202")) samplesPlateId02[["tissueTypeOntologyRefence"]] <- data.frame( ontologyID = c("tTypeOnId0201", "tTypeOnId0202"), ontologyPrefix = c("tTypeOnPrefix0201", "tTypeOnPrefix0202"), ontologyTerm = c("tTypeOnTerm0201", "tTypeOnTerm0202")) samplesPlateId02[["volume"]] <- data.frame( units = c("vUnit0201", "vUnit0201"), value = c(0, 0)) # Add samples infomation to the plates object plates[["samples"]] <- list(samplesPlateId01, samplesPlateId02) # Make post /vendor/orders call brapi_post_vendor_orders(con = con, clientId = "BrAPIR", numberOfSamples = 4, plates = plates, requiredServiceInfo = list( additionalProp1 = "stringAddProp1", additionalProp2 = "stringAddProp2", additionalProp3 = "stringAddProp3"), sampleType = "DNA", serviceIds = "vsp1") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.