Tools

Tools#

tl.DataGenerator(n_features[, n_samples, ...])

Generator class for creating synthetic multi-view data with latent factors.

tl.factor_correlation(model)

Calculate the correlation between factors.

tl.get_free_gpu_idx()

Get the index of the GPU with current lowest memory usage.

tl.match(reference, permutable, axis)

Find optimal permutation and signs to match two tensors along specified axis.

tl.msigdb_get_features([category, dbver, entrez])

Get gene sets from the MSIGDB molecular signatures database.

tl.msigdb_list_categories([dbver])

List available MSIGDB categories for the given database version.

tl.msigdb_list_versions()

List available versions of the MSIGDB molecular signature database.

tl.test_annotation_significance(model, annotations)

Test feature sets for significant associations with model factors.