Movatterモバイル変換


[0]ホーム

URL:


coFAST

=========================================================================

coFAST is a spatially-aware cell clustering algorithm with clustersignificant assessment. It comprises four key modules: spatially-awarecell-gene co-embedding, cell clustering, signature gene identification,and cluster significant assessment.

Check out our ourCell paper, andPackage Websitefor a more complete description of the methods and analyses.

Once the coembeddings of dataset are estimated by coFAST, the packageprovides functionality for further data exploration, analysis, andvisualization. Users can:

Please see our new paper for more details:

Installation

“coFAST” depends on the ‘Rcpp’ and ‘RcppArmadillo’ package, whichrequires appropriate setup of computer. For the users that have set upsystem properly for compiling C++ files, the following installationcommand will work.

if (!require("remotes", quietly = TRUE))install.packages("remotes")remotes::install_github("feiyoung/coFAST")

Or install the the packages “coFAST” from ‘CRAN’

install.packages(“coFAST”)

If some dependent packages (such asscater) onBioconductor can not be installed nomrally, use following commands, thenrun abouve command.

if (!require("BiocManager", quietly = TRUE)) ## install BiocManager    install.packages("BiocManager")

install the package on Bioconducter

BiocManager::install(c("scater"))

Usage

For usage examples and guided walkthroughs, check thevignettes directory of the repo.

Tutorials for coFAST method:

For the users that don’t have set up system properly, the followingsetup on different systems can be referred.

Setup on Windows system

First, downloadRtools;second, add the Rtools directory to the environment variable.

Setup on MacOS system

First, install Xcode. Installation about Xcode can be referredhere.

Second, install “gfortran” for compiling C++ and Fortran athere.

Setup on Linux system

If you use conda environment on Linux system and some dependentpackages (such asscater) can not normally installed, youcan search R package at anaconda.org website. We take thescater package as example, and its search result ishttps://anaconda.org/bioconda/bioconductor-scater. Then you can installit in conda environment by following command.

conda install -c bioconda bioconductor-scater

For the user not using conda environment, if dependent packages (suchasscater) not normally installed are in Bioconductor, thenuse the following command to install the dependent packages.

install BiocManager

if (!require("BiocManager", quietly = TRUE))    install.packages("BiocManager")

install the package on Bioconducter

BiocManager::install(c("scater"))

If dependent packages (such asDR.SC) not normallyinstalled are in CRAN, then use the following command to install thedependent packages.

install the package on CRAN

install.packages("DR.SC")

Common errors

all old versions that are less than 1.1.0 are ok. here we take theversion 1.1.0 as an example.

remotes::install_version('matrixStats', version='1.1.0')

Demonstration

For an example of typical coFAST usage, please see ourPackage Websitefor a demonstration and overview of the functions included incoFAST.

NEWs


[8]ページ先頭

©2009-2025 Movatter.jp