matit: take an estimated basis vector from NMF and format to...

Description Usage Arguments Examples

Description

take an estimated basis vector from NMF and format to template tmpl

Usage

1
matit(x, nr = 16, nc = 32, tmpl)

Arguments

x

numerical vector, in the drosmap application, has length 405 representing points in the blastocyst model ellipse

nr

number of rows of output matrix

nc

number of columns of output matrix

tmpl

matrix of nr x nc that has 0 where cells do not exist; in drosmap application, sum(tmpl) == 405

Examples

1
2
3
4
5
6
require(NMF)
data(exNmf21)
data(template405)
bas = basis(exNmf21)
mm = matit(bas[,1], tmpl=template405)
contour(t(mm)) # first principal pattern using naive NMF

vjcitn/fatemapper documentation built on May 3, 2019, 6:14 p.m.