cotMG | R Documentation |
This function computes cosine values to select markers.
cotMG(
data = NULL,
Sest,
thres.low = 0.05,
thres.high = 1,
cos.thres = 1,
top = NULL,
per = NULL
)
data |
A data set that will be internally coerced into a matrix. If data is not NULL, "thres.low" and "thres.high" would decide which genes should be removed in data. If data is NULL, the thresholds work on "Sest" directly. |
Sest |
Subpopulation-specific expression matrix. Each row is a gene and each column is a sample. |
thres.low |
The lower bound of percentage of genes to keep with ranked norm. The value should be between 0 and 1. The default is 0.05. |
thres.high |
The higher bound of percentage of genes to keep with ranked norm. The value should be between 0 and 1. The default is 1. |
cos.thres |
The cosine threshold for markers. |
top |
The upper bound of total markers. |
per |
The upper bound of markers of each Subpopulation. |
This function uses COT to detect markers.
A list of vectors, each of which contains marker genes for one subpopulation.
data(ratMix3)
data <- ratMix3$X
#Find marker genes
MGlist <- cotMG(data, rASest3$S, cos.thres = 0.99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.