nmf

package
v0.0.0-...-40008dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package nmf reads NMF output files and assesses localizations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadBasis

func ReadBasis(filename string) ([][]float64, []string, []string)

ReadBasis reads an NMF basis matrix.

Types

type GeneLocalization

type GeneLocalization struct {
	Compartment int
	Score       float64
}

GeneLocalization contains the NMF rank and score for a gene.

type NMFlocalization

type NMFlocalization map[string]GeneLocalization

NMFlocalization contains localization information for all genes.

func Localization

func Localization(filename string) NMFlocalization

Localization reads NMF rank localizations and scores.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL