GetTransferMatrix.internal | R Documentation |
Get knn in to_dataset for each cell in from_dataset based on the corrected data matrix from AnchorCorrection Takes matrices and data frames instead of STvEA.data class
GetTransferMatrix.internal(
from_dataset,
to_dataset,
k = floor(nrow(to_dataset) * 0.002),
c = 0.1
)
from_dataset |
a (cell x feature) matrix or dataframe |
to_dataset |
a (cell x feature) matrix or dataframe |
k |
number of nearest neighbors to find |
c |
constant controls the width of the Gaussian kernel |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.