scRNA analysis in PDX model
0
0
Entering edit mode
3.7 years ago

Hi I'm doing single cell RNA analysis in PDX model and I want to separate my data into mouse and human cell before start analyzing, anyone knows how to do this in R using subset function or any other possible ways?

NGS PDX scRNA • 1.1k views
ADD COMMENT
2
Entering edit mode

At what point in the analysis are you starting from, and what files do you currently have?

ADD REPLY
1
Entering edit mode

I used cellranger chimeric reference to align data and loaded filtered_feature_bc_matrix into matrix. I used following scripts.

barcode.path <- paste0(matrix_dir, "barcodes.tsv.gz")

features.path <- paste0(matrix_dir, "features.tsv.gz")

matrix.path <- paste0(matrix_dir, "matrix.mtx.gz")

mat <- readMM(file=matrix.path)

feature.names = read.delim(features.path,
                            header=FALSE,
                            stringsAsFactors = FALSE)

barcode.names = read.delim(barcode.path,
                           header= FALSE,
                           stringsAsFactors = FALSE)

colnames(mat) = barcode.names$V1

Then I tried to separate human and mouse by colnames, though not sure if it was appropriate to use c1 to represent first column

human <- subset(normal, c1= "GRCh38-*")

mouse <- subset(normal, c1= "mm10-*")

This didn't work at all. Thansk ! Any experts can help me out?

ADD REPLY
0
Entering edit mode

I tried to use a tool called "xenocell" but I was not familiar with docker

ADD REPLY

Login before adding your answer.

Traffic: 1392 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6