Giter Club home page Giter Club logo

sc.utils's Introduction

sc.utils

The goal of sc.utils is to integrate useful function for single cell sequencing data analysis

Installation

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("Byronxy/sc.utils")

Example

This is a basic example which shows you how to solve a common problem:

library(sc.utils)
## basic example code

Support Gene Signatures

Cell Marker Database

FileName Description Usage ID Format
All cell markers All cell markers of different cell types from different tissues in human and mouse. data(“cell_markers_all_entrez”,package = “sc.utils”, envir = environment()) EntrezID
All cell markers All cell markers of different cell types from different tissues in human and mouse. data(“cell_markers_all_symbal”,package = “sc.utils”, envir = environment()) SymbolID
Human cell markers Cell markers of different cell types from different tissues in human. data(“cell_markers_human_entrez”,package = “sc.utils”, envir = environment()) EntrezID
Human cell markers Cell markers of different cell types from different tissues in human. data(“cell_markers_human_symbal”,package = “sc.utils”, envir = environment()) SymbolID
Mouse cell markers Cell markers of different cell types from different tissues in mouse. data(“cell_markers_mouse_entrez”,package = “sc.utils”, envir = environment()) EntrezID
Mouse cell markers Cell markers of different cell types from different tissues in mouse. data(“cell_markers_mouse_symbal”,package = “sc.utils”, envir = environment()) SymbolID
Single cell markers Cell markers derived from single-cell sequencing researches in human and mouse. data(“cell_markers_singlecell_entrez”,package = “sc.utils”, envir = environment()) EntrezID
Single cell markers Cell markers derived from single-cell sequencing researches in human and mouse. data(“cell_markers_singlecell_symbal”,package = “sc.utils”, envir = environment()) SymbolID
#entrez
data("cell_markers_all_entrez",package = "sc.utils", envir = environment())

data("cell_markers_human_entrez",package = "sc.utils", envir = environment())

data("cell_markers_mouse_entrez",package = "sc.utils", envir = environment())

data("cell_markers_singlecell_entrez",package = "sc.utils", envir = environment())

#symbol
data("cell_markers_all_symbal",package = "sc.utils", envir = environment())

data("cell_markers_human_symbal",package = "sc.utils", envir = environment())

data("cell_markers_mouse_symbal",package = "sc.utils", envir = environment())

data("cell_markers_singlecell_symbal",package = "sc.utils", envir = environment())

In-house Pipeline Signature

gmt file

  • gbm_single_cell_geneset.gmt

  • SHH_MB_hg_signature.gmt

library(GSEABase)
#> Loading required package: annotate
#> Loading required package: XML
#> Loading required package: graph
#> 
#> Attaching package: 'graph'
#> The following object is masked from 'package:XML':
#> 
#>     addNode
gmtFile <- paste(file.path(system.file('examples', package='sc.utils')), "SHH_MB_hg_signature.gmt", sep="/")
geneSets <- getGmt(gmtFile)

load data

#cell cycle
data("cellcycle_hg",package = "sc.utils", envir = environment())
data("cellcycle_mm",package = "sc.utils", envir = environment())

#gbm single cell signature
data("gbm_single_cell_geneset",package = "sc.utils", envir = environment())
data("gbm_single_cell_geneset_list",package = "sc.utils", envir = environment())

#shh-mg signature
data("shh_mb_hg_single_cell_geneset_list",package = "sc.utils", envir = environment())
data("shh_mb_mm_single_cell_geneset_list",package = "sc.utils", envir = environment())

To avoid unexpected noise and expression artefacts by dissociation, a total of 1,514 genes associated with mitochondria (50 genes), heat-shock protein (178 genes), ribosome (1,253 genes) and dissociation (33 genes) were excluded.

data("gs_MT_HSP_RB_DS",package = "sc.utils", envir = environment())

Useful Function

Data Visualization

FeaturePlot_gene_pos()

Data Transformation

Statistics

sc.utils's People

Contributors

byronxy avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.