write_meta {ccfindR} | R Documentation

## Write meta genes to a file

### Description

Write a csv file of meta gene lists from input list

### Usage

    write_meta(meta, file)

### Arguments

`meta` | List of meta genes output from `meta_genes`
`file` | Output file name

### Value

`NULL`

### Examples

    set.seed(1)
    x <- simulate_whx(nrow=50, ncol=100, rank=5)
    s <- scNMFSet(x$x)
    s <- vb_factorize(s, ranks=seq(2,8), nrun=5)
    plot(s)
    m <- meta_genes(s, rank=5)
    write_meta(m, file='meta.csv')

[Package ccfindR version 1.7.0 Index]