Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning messages about data length differs from size of matrix #55

Open
coralzhang opened this issue Aug 29, 2022 · 0 comments
Open

Warning messages about data length differs from size of matrix #55

coralzhang opened this issue Aug 29, 2022 · 0 comments

Comments

@coralzhang
Copy link

coralzhang commented Aug 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant