Generate an indicator matrix
This function is used to generate an indicator matrix as an input to the pcot2 function. The gene category indicator matrix indicates presence or absence of genes in pre-defined gene sets (e.g., gene pathways). The indicator matrix contains rows representing gene identifiers of genes present in the expression data and columns representing pre-defined group names. A value of 1 indicates the presence of a gene and 0 indicates the absence for the gene in a particular group.
getImat(x, pathlist, ms = 10)
A matrix with no missing values; Each row represents a gene and each column represents a sample.
A list of gene sets.
The minimum gene set size. Gene sets containing less than this number of genes will be excluded from the analysis.
An indicator matrix is returned. The matrix value is 1 (gene in) or 0 (gene out)
Sarah Song and Mik Black
1 2 3 4 5 6 7
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.