Description Usage Arguments Value Note Examples
View source: R/cytof_dimensionReduction.R
Apply dimension reduction on the cytof expression data,
with method pca
, tsne
, diffusionmap
or isomap
.
1 2 3 4 |
data |
Input expression data matrix. |
markers |
Selected markers for dimension reduction, either marker names/descriptions or marker IDs. |
method |
Method chosen for dimensition reduction, must be one of |
distMethod |
Method for distance calcualtion, default is "euclidean", other choices like "manhattan", "cosine", "rankcor".... |
out_dim |
The dimensionality of the output. |
tsneSeed |
Set a seed if you want reproducible t-SNE results. |
isomap_k |
Number of shortest dissimilarities retained for a point, parameter for |
isomap_ndim |
Number of axes in metric scaling, parameter for |
isomapFragmentOK |
What to do if dissimilarity matrix is fragmented, parameter for |
... |
Other parameters passed to the method, check |
A matrix of the dimension reduced data, with colnames method_ID, and rownames same as the input data.
Currently, diffusionmap
will not work with R 3.4.0, due to an issue with the latest CRAN release of its dependency igraph
If this is the case, consider manually updating igraph
using;
install.packages("https://github.com/igraph/rigraph/releases/download/v1.1.0/igraph_1.1.0.zip", repos=NULL, method="libcurl")
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.