-
Notifications
You must be signed in to change notification settings - Fork 5
Expression Queries
Liana Yang edited this page Feb 21, 2016
·
12 revisions
Gets the list of uploaded expression matrices.
Params
type: string, // ='list-expression'
Return
!Array<{
fileName: string,
matrixName: string,
description: string
}>
Gets the expression matrix information, with given matrix name.
Params
type: string, // ='expression-info'
matrixName: string // Matrix Name of the expression matrix.
Return
{
allGeneNames: !Object<string>, // All row labels
allConditionNames: !Object<string>, // All column labels
allValueMin: number, // of all matrix values
allValueMax: number
}
Gets the expression matrix, with given genes and experiment conditions.
Params
type: string, // ='expression'
matrixName: string, // Matrix Name of the expression matrix.
geneNames: !Array<string>, // Name list selecting the genes (rows).
conditionNames: !Array<string> // Name list selecting the experiment conditions (columns).
Return
{
values: Array<Array<number>>, // 2D matrix data
geneNames: !Array<string>, // As row labels
conditionNames: !Array<string>, // As column labels
valueMin: number, // of values in selected rows and columns
valueMax: number
}
bowen: DUPLICATE WITH GET MATRIX? need to combine them
Gets the expression matrix, with given genes and experiment conditions.
Params
type: string, // ='read-expression'
fileName: string, // File name of the expression matrix.
geneRegex: string, // Regex selecting the genes (rows).
conditionRegex: string // Regex selecting the experiment conditions (columns).
Return
{
values: Array<Array<number>>, // 2D matrix data
valueMin: number, // of values in selected rows and columns
valueMax: number,
allValueMin: number, // of all matrix valuse
allValueMax: number,
geneNames: !Array<string>, // As row labels
conditionNames: !Array<string> // As column labels
}
Gets the profile data for selected genes.
Params
type: string, // ='profile'
matrixName: string, // Matrix Name of the expression matrix.
geneNames: !Array<string>, // Name list selecting the genes (rows).
conditionNames: !Array<string> // Name list selecting the experiment conditions (columns).
Return
{
values: Array<Array<number>>, // 2D profile data
geneNames: !Array<string>, // As row labels
conditionNames: !Array<string>, // As column labels
valueMin: number, // of values in selected rows and columns
valueMax: number
}
Gets the TFA profile data for selected genes.
Params
type: string, // ='tfa-profile'
matrixName: string, // Matrix Name of the expression matrix.
geneNames: !Array<string>, // Name list selecting the genes (rows).
conditionNames: !Array<string> // Name list selecting the experiment conditions (columns).
Return
{
tfaValues: !Array<{
index: number, // column index. TFA values exist for a subset of values.
value: number
}>,
geneNames: !Array<string>, // As row labels
conditionNames: !Array<string>, // As column labels
valueMin: number, // of values in selected rows and columns
valueMax: number
}