CellexalVR
1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
The idea is that here is a bunch of the basics on using SQLite Nothing is some advanced course on doing joins and unions and trying to make your infinitely normalized schema work SQLite is simple. Very simple.
Pros:
More...
Public Types | |
enum | QueryTopGenesRankingMode { Mean, TTest } |
Different modes to sort genes. More... | |
Public Member Functions | |
void | RunAsyncInit () |
Example using the Loom to run an asynchronous method on another thread so SQLite lookups do not block the main Unity thread More... | |
void | InitDatabase (string path) |
IEnumerator | ValidateDatabaseCoroutine () |
Validates the database by making sure that the correct tabels exists. More... | |
void | QueryTopGenes (QueryTopGenesRankingMode mode) |
Queries the database for all gene expressions and sorts them based on the difference in expression between two chosen groups. More... | |
void | QueryMedianGeneExpressions (string[] genes) |
Queries the database for the median expressions of some genes. This fills the _result with Tuple<string, float> that each contain the median expression of a cell. More... | |
void | QueryGene (string geneName, Action< SQLite > action) |
Query the database for a gene and set up a function to be called that reads the results More... | |
void | QueryGene (string geneName, GraphManager.GeneExpressionColoringMethods coloringMethod) |
Queries the database for the expressions of a gene. More... | |
void | ExecuteNonQuery (string commandText) |
Basic execute command - open, create command, execute, close More... | |
Public Attributes | |
bool | DebugMode = false |
bool | _databaseOK = false |
ReferenceManager | referenceManager |
ArrayList | _result = new ArrayList() |
Static Public Attributes | |
static SQLite | Instance = null |
Properties | |
bool | QueryRunning [get] |
float | LowestExpression [get] |
float | HighestExpression [get] |
The idea is that here is a bunch of the basics on using SQLite Nothing is some advanced course on doing joins and unions and trying to make your infinitely normalized schema work SQLite is simple. Very simple.
Pros:
Cons:
SQLite is nice for small games, high scores, simple saved, etc. It is not very secure and not very fast, but it's cheap, simple, and useful at times.
Here are some starting tools and information. Go explore.
|
strong |
Different modes to sort genes.
void SQLiter.SQLite.ExecuteNonQuery | ( | string | commandText | ) |
Basic execute command - open, create command, execute, close
commandText |
void SQLiter.SQLite.QueryGene | ( | string | geneName, |
Action< SQLite > | action | ||
) |
Query the database for a gene and set up a function to be called that reads the results
geneName | The gene to query for |
action | The function to run when the results are ready |
void SQLiter.SQLite.QueryGene | ( | string | geneName, |
GraphManager.GeneExpressionColoringMethods | coloringMethod | ||
) |
Queries the database for the expressions of a gene.
geneName | The name of the gene |
void SQLiter.SQLite.QueryMedianGeneExpressions | ( | string[] | genes | ) |
Queries the database for the median expressions of some genes. This fills the _result with Tuple<string, float> that each contain the median expression of a cell.
genes | A list of genes to query for. |
void SQLiter.SQLite.QueryTopGenes | ( | QueryTopGenesRankingMode | mode | ) |
Queries the database for all gene expressions and sorts them based on the difference in expression between two chosen groups.
mode | The mode to sort the gene expressinos by. |
void SQLiter.SQLite.RunAsyncInit | ( | ) |
Example using the Loom to run an asynchronous method on another thread so SQLite lookups do not block the main Unity thread
IEnumerator SQLiter.SQLite.ValidateDatabaseCoroutine | ( | ) |
Validates the database by making sure that the correct tabels exists.