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

Unable to use runExprsMerge() to merge 6 FCS files #12

Open
zoqaiyum opened this issue Dec 6, 2022 · 3 comments
Open

Unable to use runExprsMerge() to merge 6 FCS files #12

zoqaiyum opened this issue Dec 6, 2022 · 3 comments

Comments

@zoqaiyum
Copy link

zoqaiyum commented Dec 6, 2022

Hi @ytdai

I am trying to use the runExprsMerge() function to merge 6 FCS files that have been exported from FlowJo. This is my code below:

cyt.data <- CytoTree::runExprsMerge(fcs.file, comp = FALSE,
                                    transformMethod = "arcsinh", mergeMethod = "fixed", fixedNum = 10000, showDesc = FALSE)

However, I am getting the following error message and I don't know how to fix this. When I did NCOL(fcs.file) I got 1 as the output and NROW(fcs.file) gave me 6. Could you please help?

Error in (function (..., deparse.level = 1) :
number of columns of matrices must match (see arg 6)

Many thanks.

@ytdai
Copy link
Member

ytdai commented Dec 12, 2022

Sorry for the late reply. You can try runExprsExtract for one single FCS file. If there is still an error, it is recommended to use flowCore::read.FCS(filename = fcs.file) to check the file integrity.

@zoqaiyum
Copy link
Author

Hi @ytdai

I used runExprsExtract and was able to successfully read one FCS file. However, when I used runExprsMerge() to read that same FCS file with more files, I got an error saying my FCS file (which I could read using runExprsExtract) is not a valid file.

Is there a discrepancy between the two functions? How do I read more than one FCS file? Can I read them one by one and then somehow merge them?

Many thanks!

@zoqaiyum
Copy link
Author

@ytdai

I am still struggling with the question above.

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

2 participants