Permuted | R Documentation |
This function permutes each row of the data matrix and calculates PCA on the permuted data matrix. By permuting each row of the data matrix, the marginal gene distributions are maintained.
Permuted(pbmc, default_assay = 'RNA', slot = 'scale.data', K)
pbmc |
a Seurat object to be permuted |
default_assay |
Which assay to use for permutation, default='RNA', but depending on the dataset, users may also want to use 'integrated' |
slot |
Which slot to use for permutation, default = 'scale.data'. If the user would like to use an alternate method of pre-processing/normalization, the user should add the matrix to the Seurat object and specify the slot name here |
K |
The number of PCs to use |
Returns a new Seurat object in which each row has been permuted and PCA has been calculated on the permuted data matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.