Skip to content

How to prepare the Genes_nmf_w_basis_example.RDS for generating MPs? #4

@Lualululu

Description

@Lualululu

Input:

Genes_nmf_w_basis is a list in which each entry contains NMF gene-scores of a single sample. In our study we ran NMF using ranks 4-9 on the top 7000 genes in each sample. Hence each entry in Genes_nmf_w_basis is a matrix with 7000 rows (genes) X 39 columns (NMF programs)

Generate_Meta_Programs.R generates MPs from NMFs programs that were calculated for each sample using different ranks. The NMF programs were calculated per sample using the ‘NMF’ R package:
NMFs_per_sample = nmf(x = Expression_matrix, rank = 4:9, method="snmf/r", nrun = 10)
NMF programs are listed in Genes_nmf_w_basis, where each entry contains NMF gene-scores of a single sample.

  1. "Using ranks 4-9 on the top 7000 genes in each sample"
    How to choose the top 7000 genes? Does this mean that the top 7000 for each rank are the same?

  2. “NMF gene-scores”
    How to calculate the NMF gene-scores?

3.How to correlate cells with their corresponding MP? Do different MP correspond to different cell subtypes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions