View source: R/gene_singatures.R
geneSignatures | R Documentation |
Generating the feature/gene signature per cluster
geneSignatures(data, memberships)
data |
A dataframe, where columns are features and rows are data points. |
memberships |
A dataframe with column "id" (same samples ids as above) and column "membership" containing the cluster membership of each sample. The memberships must be strings |
An object of class "geneSignature" containing a list of LASSO (regression analysis) coefficients of each gene and a plot of the highest 30
geneSignatures(toy_genes, toy_gene_memberships)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.