TrainSctourModel | R Documentation |
Trains an sctour model on a Seurat object
TrainSctourModel(
seuratObj,
modelFileName,
featureExclusionList = "VariableGenes_Exclusion.2",
outputBasePath = "./",
assayName = "RNA",
cleanUpIntermediateFiles = TRUE,
outputReductionName = "sctour",
metadataColName = "pseudotime"
)
seuratObj |
The Seurat object containing the data. |
modelFileName |
The model's file name. The full name of the model will be modelFileName.pth |
featureExclusionList |
A vector of gene names to be excluded from variable feature selection in model training. This supports RIRA's ExpandGeneList |
outputBasePath |
A directory that will store the resulting pytorch model after model training. |
assayName |
Assay whose data is to be written out with DropletUtils::write10xCounts. Should be "RNA". |
cleanUpIntermediateFiles |
This boolean controls if GEXOutfile, embeddingOutFile, and exclusionJsonPath should be deleted after model training. |
outputReductionName |
The assay name in which to store the results |
metadataColName |
The name of the meta.data column to store the resulting pseudotime |
A seurat object with pseudotime and dimensional reductions computed by scTour
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.