Skip to content

Biocxifu/Get.CibersortxTpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

require

ForgiveDB ForgiveDB ForgiveDB ForgiveDB ForgiveDB

Get.CibersortxTpm

Get the Single-Cell RNA Sequencing TPM matrix required by CIBERSORTX

The R package can extract the counts matrix in the seurat object to calculate the TPM value and match the corresponding cell name. It supports multi-core computation to speed up computation runs, and the resulting output file can be directly input into CIBERSORTX to create a Signature Matrix.

Install

devtools::install_github('Biocxifu/Get.CibersortxTpm')

Usage

Load example data

library(SeuratData)
library(Get.CibersortxTpm)
data("pbmc3k")
pbmc3k <- pbmc3k[,1:100]

Start running

You can select all cells
Cibersortx_Tpm <- Get.CibersortxTpm(seurat_object = pbmc3k,select_allcells =TRUE,
                                    celltype_varname = 'seurat_annotations',cl = 1,
                                    gsub_cellname = T,gsub_string = c(' ','_'),
                                    write_filename = 'test.txt')
Or you can select specific cells
Cibersortx_Tpm <- Get.CibersortxTpm(seurat_object = pbmc3k,select_allcells = FALSE,
                                    celltype_varname = 'seurat_annotations', cl = 1,
                                    specified_cells = c('Naive CD4 T','Memory CD4 T','B'),
                                    gsub_cellname = T,gsub_string = c(' ','_'),
                                    write_filename = 'test.txt')

CIBERSORTX: Build a Signature Matrix File from Single-Cell RNA Sequencing Data

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages