Methods
$_GET(param)
Allows you to get information from the url of the page
Parameters:
Name | Type | Description |
---|---|---|
param |
string | The tag you want to check. |
- Source:
abortExport()
Abort the export of datamatrix
- Source:
abortGermplasmsExport()
Abort the export of Germplasms Details tsv
- Source:
addGrp(caller)
Add another url group
Parameters:
Name | Type | Description |
---|---|---|
caller |
String | The Caller of the function |
- Source:
addGrp2(caller)
Add another url to caller's Group without any url inside
Parameters:
Name | Type | Description |
---|---|---|
caller |
String | The Caller of the function |
- Source:
addUrl(caller)
Add another url to caller's Group
Parameters:
Name | Type | Description |
---|---|---|
caller |
String | The Caller of the function |
- Source:
addUrl2(caller, caller)
Add another url with preset value to caller's Group
Parameters:
Name | Type | Description |
---|---|---|
caller |
String | The Caller of the function |
caller |
Urlwithauth | The urlwithauth used for get the preset value |
- Source:
(async) allelematrix(argumentsArray)
Function responsible for exporting the matrix
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
animatForm()
Animate html page
- Source:
array_big_intersect()
Return intersection of 2 array
- Source:
bindCall2Url(resp, calls)
Generate call to url hmap
Parameters:
Name | Type | Description |
---|---|---|
resp |
Array | result of getCall function |
calls |
Array | Url tab |
buildTsvString(HMap, selectedGermplasms, fieldTab)
Generate Tsv String
Parameters:
Name | Type | Description |
---|---|---|
HMap |
Array | Json-Hmap |
selectedGermplasms |
Array | The selected Germplasms |
fieldTab |
Array | Fields of the futur file |
callsAreInArray(resp, requCall)
True if requ calls are in the resp array
Parameters:
Name | Type | Description |
---|---|---|
resp |
array | reponse of GetCall function |
requCall |
array | Array of requ call |
cleanTab(sendedMarkers, sendedMarkersProlis)
Remove missing data from result tab
Parameters:
Name | Type | Description |
---|---|---|
sendedMarkers |
Array | Matrix marker list |
sendedMarkersProlis |
Array | Matrix marker-profil list |
- Source:
enmptResultTab()
Set result table empty
- Source:
(async) ExportDetailsGermplasms()
Launch export of allelematrix
(async) exportMatrix()
Launch export of allelematrix
fill_result_table(sendedMarkers, sendedMarkersProlis, response)
fill result table
Parameters:
Name | Type | Description |
---|---|---|
sendedMarkers |
Array | Matrix marker list |
sendedMarkersProlis |
Array | Matrix marker-profil list |
response |
Array | The response to getMatrix function |
- Source:
fillWidget(array)
Fill the widget with the group tab generated from the client url
Parameters:
Name | Type | Description |
---|---|---|
array |
Array | the current GroupTab |
- Source:
Germplasms(filename, tsvData-)
Generate Tsv String
Parameters:
Name | Type | Description |
---|---|---|
filename |
Strint | Name of the futur file |
tsvData- |
String | The string to encoded in the tsv file |
(async) getCalls(urlWithToken)
Get the liste of call implemented by the brapi endpoint you passed
Parameters:
Name | Type | Description |
---|---|---|
urlWithToken |
urlWithAuth | The Url |
- Source:
getFieldFormJson(HMap)
Generate field Tab from Json-Hmap
Parameters:
Name | Type | Description |
---|---|---|
HMap |
Array | Json-Hmap |
(async) getGermplasmsDetails(argumentsArray)
Return the details for a given Germplasms
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
(async) getMapDetails(argumentsArray)
Return the details for a given map
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
(async) getmarkerProfileDbId(argumentsArray)
Return the list of Marker Profile for a given url
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
getMarkerProfileHmap(arrayGermplasms)
Generate germplasmDbId to germplasm Hmap
Parameters:
Name | Type | Description |
---|---|---|
arrayGermplasms |
Array | Array of germplasm |
(async) getMarkers(argumentsArray)
Return the list of Marker for a given url
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
(async) getMarkersPosition(argumentsArray)
Return the list of Marker Position for a given url
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
(async) getMatrix(argumentsArray)
Return the data matrix for a given marker list/ marker profile list
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
(async) getToken(stringUserName, stringPassword, urlEndPoint)
Get a Token.
Parameters:
Name | Type | Description |
---|---|---|
stringUserName |
string | The User Name. |
stringPassword |
string | The Password. |
urlEndPoint |
string | The brapi endpoint. |
- Source:
getTypeList(arrayMarker)
Get type list from a marker tab
Parameters:
Name | Type | Description |
---|---|---|
arrayMarker |
array | Marker table |
- Source:
(async) handleErrors(err)
Handle Errors
Parameters:
Name | Type | Description |
---|---|---|
err |
Error | current error |
- Source:
insetMatrixInResultTable(sendedMarkers, sendedMarkersProlis, response)
insert matrix in result table
Parameters:
Name | Type | Description |
---|---|---|
sendedMarkers |
Array | Matrix marker list |
sendedMarkersProlis |
Array | Matrix marker-profil list |
response |
Array | The response to getMatrix function |
- Source:
isInArray(array, value)
Return true if value is present in the table, wrong if not
Parameters:
Name | Type | Description |
---|---|---|
array |
array | The array you want to scan. |
value |
string | The value you search . |
- Source:
nextPage()
Advance one page in the matrix
- Source:
prevPage()
Moves one page backwards in the matrix
- Source:
(async) readMaps(argumentsArray)
Return the list of maps for a given url
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
(async) readStudyList(argumentsArray)
Return the list of studies for a given url
Parameters:
Name | Type | Description |
---|---|---|
argumentsArray |
array | Array containing the parameters required by the function |
- Source:
removeAll(array, value)
Remove all occurrence of a value from an array
Parameters:
Name | Type | Description |
---|---|---|
array |
array | The array you want to scan. |
value |
string | The value you want to remove . |
- Source:
(async) requCallareImplement()
Removes url group that do not implement the required calls
returnInit(token)
Returns the standard header
Parameters:
Name | Type | Description |
---|---|---|
token |
strint | A token. |
- Source:
reversHmap(hMap-)
Revers any hmap;
Parameters:
Name | Type | Description |
---|---|---|
hMap- |
Array | The current Hmap. |
(async) rmThisGrp(caller)
Remove the url group of the caller
Parameters:
Name | Type | Description |
---|---|---|
caller |
String | The Caller of the function |
- Source:
(async) rmUrl(caller)
Remove last url of caller's Group
Parameters:
Name | Type | Description |
---|---|---|
caller |
String | The Caller of the function |
- Source:
selectStudies()
Set htmp of studies widget
- Source:
setArgumentArray(callName, argumentsArray)
Set up the argumentArray for the call you want to call
Parameters:
Name | Type | Description |
---|---|---|
callName |
string | The call you want to call |
argumentsArray |
Array | Array containing the parameters required by the function |
- Source:
setCustomIndex()
Set the index too another value
- Source:
setCustomPageSize()
Set the page size too another value
- Source:
setDisabled(bool)
Set html object disabled or undisabled
Parameters:
Name | Type | Description |
---|---|---|
bool |
Boolean | true or false |
- Source:
setEmptyMarkerSelect()
Set Empty Marker field
- Source:
setEmptyTheFields()
Set empty all fields
- Source:
setHmapLinkageGroup(arrayOfLinkageGroup, arrayMarkers)
Generate LinkageGroup to Marker Hmap
Parameters:
Name | Type | Description |
---|---|---|
arrayOfLinkageGroup |
Array | All LinkageGroup |
arrayMarkers |
Array | All Markers |
setHmapType(arrayOfMarkersType, arrayMarkers)
Generate Type to Marker Hmap
Parameters:
Name | Type | Description |
---|---|---|
arrayOfMarkersType |
Array | All Marker Type |
arrayMarkers |
Array | All Markers |
setup_select_tag(firstinformations)
insert matrix in result table
Parameters:
Name | Type | Description |
---|---|---|
firstinformations |
Array | array containing the maps and studies that were found |
- Source:
setUpGermplasms(response)
Set up html of Germplasms widget
Parameters:
Name | Type | Description |
---|---|---|
response |
Array | array of marker profile |
- Source:
setUpLinkageGroupAndMarkersType(arrayOfLinkageGroup, arrayOfMarkersType)
Set up Html of LinkageGroup and MarkersType widget
Parameters:
Name | Type | Description |
---|---|---|
arrayOfLinkageGroup |
Array | array Of LinkageGroup |
arrayOfMarkersType |
Array | array Of MarkersType |
- Source:
setUpMarkerProfils()
Set up html of Markers Profils widget
- Source:
setupMarkersId(arrayMarkersIds)
Set up Html of Marker widget
Parameters:
Name | Type | Description |
---|---|---|
arrayMarkersIds |
Array | array of MarkersIds |
- Source:
sleep(ms)
Stop the program for a given period of time
Parameters:
Name | Type | Description |
---|---|---|
ms |
int | The number of ms you want to wait befor the resolution of the promise . |
- Source:
updateSelection(idLabel, idSelect)
update the label of the current select
Parameters:
Name | Type | Description |
---|---|---|
idLabel |
Array | selected label |
idSelect |
Array | selected select |
- Source:
(async) urlBrapiEndPointIsOk(brapiEndPoint)
Check the brapiEndPoint coming from the url.
Parameters:
Name | Type | Description |
---|---|---|
brapiEndPoint |
string | The brapi endpoint. |
- Source:
(async) urlMapIdIsOk(brapiEndPoint, mapDbId)
Check the map coming from the url.
Parameters:
Name | Type | Description |
---|---|---|
brapiEndPoint |
string | The brapi endpoint. |
mapDbId |
string | The Password. |
- Source: