in reply to Re: pseudocode for getting data from table
in thread pseudocode for getting data from table
Thank you so much for supporting so basically i am writing a pseudocode for the following problem Given a table as shown in the example below, print out the gene ID as well as the expression level for the gene, if the expression level is >= 100. The pseudo code must be generic, so that it can be used on another, but similar, matrix.
Type Gene ID Organism Expression l +evel Transcription factor Q0V7X4 Arabidopsis thaliana 58 Transcription factor P52655 Homo sapiens 2107 Protein kinase P42753 Arabidopsis thaliana 11 Protein kinase Q8ND76 Homo sapiens 987765
Here is the pseudocode that i have written to acheive this task please have a look if i write the pseudocode correctly or does it need editing?
table <- INPUT TABLE WHILE line IN table IF line >= 100 expressionLevel <- line PRINT geneID IN table PRINT expression level
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: pseudocode for getting data from table
by Tux (Canon) on Sep 22, 2020 at 07:09 UTC | |
by shabird (Sexton) on Sep 22, 2020 at 09:25 UTC | |
by Tux (Canon) on Sep 22, 2020 at 11:30 UTC | |
|
Re^3: pseudocode for getting data from table
by choroba (Cardinal) on Sep 22, 2020 at 12:38 UTC | |
|
Re^3: pseudocode for getting data from table
by BillKSmith (Monsignor) on Sep 22, 2020 at 14:36 UTC | |
|
Re^3: pseudocode for getting data from table
by GrandFather (Saint) on Sep 22, 2020 at 21:18 UTC |