Skip to content

R-c-j/FEGFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Novel scRNA-seq Data Feature Extraction Method Based on Gene Function Analysis

Table of contents

Install

Install using pip

Firstly, we suggest to build a new virtual environment through Anaconda:

conda create -n FEGFS python=3.7

Create and activate the virtual environment environment FEGFS:

conda activate FEGFS

Package

package version
pandas 0.25.1
numpy 1.16.5
scikit-learn 0.21.3
matplotlib 3.3.1

Usage

All functions of FEGFS can be found in the script folder FEGFS.py is running:

python ./script/FEGFS.py -d <data_name> -c <num_clusters> -n <retention_ratio> -i <GO_Term_path> -e <expression_matrix_path> -o <outputpath> -l <label_path>

Example

Run FEGFS as an example in script:

python ./script/FEGFS.py -d test -c 5 -n 0.4 -i ./example/GO_Term.xlsx -e ./example/test_count_matrix.csv -o ./example/Term_matrix -l ./example/test_label.csv

Real data

Here we take Pollen as an example:

python ./script/FEGFS.py -d pollen -c 11 -n 0.4 -i ./pollen/pollen_GO_Term.xlsx -e ./pollen/pollen_count_matrix.csv -o ./pollen/pollen_Term_matrix -l ./pollen/pollen_label.csv

Releases

No releases published

Packages

No packages published

Languages