DoubletDecon
DoubletDecon copied to clipboard
Warning messages about data length differs from size of matrix
I tried demo code using the pbmc_small object, using the following code
` newFiles=Improved_Seurat_Pre_Process(seuratObject=pbmc_small, num_genes=50, write_files=FALSE)
write.table(newFiles$newExpressionFile, paste0(filename,"exp"), sep="\t")
write.table(newFiles$newGroupsFile, paste0(filename,"grp"), sep="\t", col.names = F)
filename="PBMC_example"
location=output_dir
results=Main_Doublet_Decon(rawDataFile=paste0(filename,"exp"),
groupsFile=paste0(filename,"grp"),
filename=filename,
location=location,
fullDataFile=NULL,
removeCC=FALSE,
species="hsa",
rhop=0.7,
write=TRUE,
PMF=TRUE,
useFull=FALSE,
heatmap=FALSE,
centroids=TRUE,
num_doubs=10,
only50=FALSE,
min_uniq=4,
nCores=-1)
` Then I got the following warning message, not sure if it means anything wrong? Loading packages... Reading data... Processing raw data... Combining similar clusters... Creating synthetic doublet profiles... Step 1: Removing possible doublets... Step 2: Re-clustering possible doublets... Step 3: Rescuing cells with unique gene expression... Finished! Warning messages: 1: In matrix(value, n, p) : data length differs from size of matrix: [270 != 1 x 90] 2: In list(...) : closing unused connection 7