view release on metacpan or search on metacpan
contrib/GeneFinder/genefinder/gfcode.c view on Meta::CPAN
static float lRatio (float nCounts, float nTotal, int selfSample) ;
static void makeClassNucFreqs (GfTable *table, int selfSample) ;
static void logDiffs (GfTable *table1, GfTable *table2) ;
static GfTable *readTableFile (char *tableFile, int initial, int selfSample) ;
static GfTable *initTable (void) ;
static void expandTable (GfTable *table) ;
static int **allocIntMat (GfTable *table) ;
static float **allocFloatMat (GfTable *table) ;
static int *makeConvTable (void) ;
static void aceFeatures (Sequence *seq, GfTableVec *tVec, float *fp) ;
static int aceSites (Sequence *sequence, GfTable *table, float cutoff, int type) ;
contrib/GeneFinder/genefinder/gfcode.c view on Meta::CPAN
#endif
}
};
table->classes[iclass][0] = 0;
table->numClasses = iclass;
expandTable(table);
if (!initial) {
for (i = 0; i < table->numRows; i++)
for (j = 0; j < table->numCols; j++) {
d = fscanf(fp, "%d", &table->nucCounts[i][j]);
contrib/GeneFinder/genefinder/gfcode.c view on Meta::CPAN
single class, frequencies are relative to it */
return table;
}
/* fill in additional (derivative) values in the table structure */
static void expandTable (GfTable *table)
{
int modNum, i;
table->convTable = makeConvTable();
table->numCols = (table->endOff - table->startOff - table->numSymbs + 1)/table->jump + 1;
view all matches for this distribution
view release on metacpan or search on metacpan
examples/lw4ToODS view on Meta::CPAN
my $ods_doc = odfDocument(file => $ods_file,
create => 'spreadsheet',);
# Set table to desired size
$ods_doc->expandTable(0, $num_rows, 10);
my $sheet = 0;
# Create some basic header info.
view all matches for this distribution
view release on metacpan or search on metacpan
OODoc/Text.pm view on Meta::CPAN
*selectTableByName = *getTableByName;
*getSheetByName = *getTableByName;
*getTableContent = *getTableText;
*normalizeTable = *normalizeSheet;
*normalizeTables = *normalizeSheets;
*expandSheet = *expandTable;
*insertColumn = *insertTableColumn;
*deleteColumn = *deleteTableColumn;
*replicateRow = *replicateTableRow;
*insertRow = *insertTableRow;
*appendRow = *appendTableRow;
OODoc/Text.pm view on Meta::CPAN
#-----------------------------------------------------------------------------
# increases the size of an existing table
# improved by Barry Slaymaker [rt.cpan.org #41975]
sub expandTable
{
my $self = shift;
my $table = shift;
my $length = shift || 0;
my $width = shift || 0;
OODoc/Text.pm view on Meta::CPAN
my ($old_length, $old_width) = $self->getTableSize($table);
$table = $self->normalizeSheet($table, 'full');
unless ($table)
{
warn "[" . __PACKAGE__ . "::expandTable] " .
"Unknown or badly formed table\n";
return undef;
}
my $last_col = $self->getTableColumn($table, -1);
my $last_row = $self->getRow($table, -1);
view all matches for this distribution
view release on metacpan or search on metacpan
html/Search/Results.ods view on Meta::CPAN
foreach my $sub_col (@$col) {
$cols_count++;
}
}
$workbook->expandTable(0, $rows_count, $cols_count );
sub int_to_alpha {
my $int = shift;
$int++;
view all matches for this distribution