median.dr | R Documentation |
This function performs a dimensional reduction over median expressino values for each file within the fcs.SCE
object and, if user specifies, calculated K-means clustering.
## S3 method for class 'dr'
median(
fcs.SCE,
assay.i = "normalized",
markers.to.use = "all",
dr.method = "PCA",
num.k = NULL,
perplexity.tsne = 15,
n.neighbors.umap = 50,
color.by = "filename",
shape.by = NULL,
label.by = NULL,
size = 3,
return.DR = F
)
fcs.SCE |
A |
assay.i |
Name of matrix stored in the |
markers.to.use |
Vector with markers to use. By default ( |
dr.method |
Possible values are "PCA" (default), "tSNE", "UMAP", "DENSMAP" or "DENSNE". Take into account the number of samples for this DR, for few samples t-SNE and UMAP are useless. If 'pca.loadings', the plotting result will show the weight of each marker for each PC (the first two components). |
num.k |
Number of clusters if |
perplexity.tsne |
Value for perplexity parameter in tSNE calculation (more information). For little number of samples this DR (t-SNE) cannot be calculated because preplexity restrictions. Default = |
n.neighbors.umap |
Value for neighbors parameter in UMAP calculation (more information). Default = |
color.by |
Variable name (from |
shape.by |
Variable name (from |
label.by |
Variable name (from |
size |
Point size. Default = |
return.DR |
Final data combining metadata, K-means and DR info should be returned?. Default = |
## Not run:
median.dr(fcs, color.by = "condition")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.