scMAGeCK-package | R Documentation |
scMAGeCK is a computational model to identify genes associated with multiple expression phenotypes from CRISPR screening coupled with single-cell RNA sequencing data (CROP-seq)
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
scMAGeCK is a computational model to identify genes associated with
multiple expression phenotypes from CRISPR screening coupled with
single-cell RNA sequencing data (CROP-seq).scMAGeCK is based on our
previous MAGeCK and MAGeCK-VISPR models for pooled CRISPR screens.
The scMAGeCK manuscript can be found at bioRxiv(https://www.biorxiv.org/content/10.1101/658146v1/).
Wei Li, Xiaolong Cheng, Lin Yang
Maintainer: Xiaolong Cheng <xiaolongcheng1120@gmail.com>
### BARCODE file contains cell identity information, generated from
### the cell identity collection step
BARCODE <- system.file("extdata","barcode_rec.txt",package = "scMAGeCK")
### RDS can be a Seurat object or local RDS file path that contains
### the scRNA-seq dataset
RDS <- system.file("extdata","singles_dox_mki67_v3.RDS",package = "scMAGeCK")
target_gene <- "MKI67"
### Set RRA executable file path or activate scmageck env if needed (see https://bitbucket.org/weililab/scmageck/src/master/)
RRAPATH <- NULL
rra_result <- scmageck_rra(BARCODE=BARCODE, RDS=RDS, GENE=target_gene,
RRAPATH=RRAPATH, LABEL='dox_mki67',
NEGCTRL=NULL, KEEPTMP=FALSE,
PATHWAY=FALSE, SAVEPATH=NULL)
head(rra_result)
lr_result <- scmageck_lr(BARCODE=BARCODE, RDS=RDS, LABEL='dox_scmageck_lr',
NEGCTRL = 'NonTargetingControlGuideForHuman', PERMUTATION = 1000,
SAVEPATH=NULL, LAMBDA=0.01)
lr_score <- lr_result[1]
lr_score_pval <- lr_result[2]
head(lr_score_pval)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.