cytof_clusterMtrx {cytofkit} | R Documentation |
Generate a matrix of expression values for cells in a cluster
cytof_clusterMtrx(analysis_results, clusterMethod = NULL, cluster)
analysis_results |
analysis_results output of cytofkit to extract expression values from. |
clusterMethod |
The cluster method of interest. If none is selected, the first one will be used. |
cluster |
The cluster of interest. |
A data table with marker expression values of cells in a given cluster
dir <- system.file('extdata',package='cytofkit') file <- list.files(dir ,pattern='.RData$', full=TRUE) load(file) cluster2_table <- cytof_clusterMtrx(analysis_results, "Rphenograph", 2)