write.coexpressionMatrix | R Documentation |
This function uses the passed coexpression function (default: Pearson's correlation cor) to compute a coexpression matrix between each pair of genes expression arrays. The matrix is saved in the passed directory.
write.coexpressionMatrix(geneExpression, outfolder, overwrite = FALSE, fun = cor, ...)
geneExpression |
a Seurat dgCMatrix (from the @data field in a Seurat object), containing the expression data. |
outfolder |
the data folder where to save the results |
overwrite |
boolean. Should an existing coexpression file be overwritten on disk? |
fun |
the coexpression function, it will be fed two genes' expression arrays. Defaults to cor |
... |
all extra parameters are passed to coexpression function |
the coexpression matrix, in long form
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.