View source: R/caesar_annotation.R
markerList2mat | R Documentation |
This function converts a list of marker genes for different cell types or clusters into a matrix, where rows represent cell types and columns represent marker genes. The matrix contains the frequency of each marker gene across the different cell types.
markerList2mat(markerList)
markerList |
A list where each element contains marker genes for different cell types or clusters. Each element of the list is a named list, where the names are the cell types and the values are the marker genes for that cell type. Generally, it is a list of the output of function |
A matrix with rows representing cell types and columns representing unique marker genes. The values in the matrix represent the frequency of each gene as a marker in the corresponding cell type.
marker.select
for select markers.
find.sig.genes
for signature gene list.
data(toydata)
markers <- toydata$markers
marker.freq <- markerList2mat(list(markers))
print(marker.freq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.