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

Issue with dimesnionality reduction/data analysis #36

Open
jenkinmt opened this issue Jul 26, 2021 · 9 comments
Open

Issue with dimesnionality reduction/data analysis #36

jenkinmt opened this issue Jul 26, 2021 · 9 comments

Comments

@jenkinmt
Copy link

Hey all,
I'm trying to use the shiny app to analyze some de-barcoded data on live singlet FCS files. I am able to pull up the shiny app, upload the files, and select the parameters for analysis. However, when its finished I get this really long error message:
Warning in readFCSdata(con, offsets, txt, transformation, which.lines, scale, :
Some data values of 'tsne_1_linear' channel exceed its $PnR value 74 and will be truncated!
To avoid truncation, either fix $PnR before generating FCS or set 'truncate_max_range = FALSE'
Warning in readFCSdata(con, offsets, txt, transformation, which.lines, scale, :
Some data values of 'tsne_2_linear' channel exceed its $PnR value 70 and will be truncated!
To avoid truncation, either fix $PnR before generating FCS or set 'truncate_max_range = FALSE'
Warning in readFCSdata(con, offsets, txt, transformation, which.lines, scale, :
Some data values of 'Rphenograph_clusterIDs' channel exceed its $PnR value 15 and will be truncated!
To avoid truncation, either fix $PnR before generating FCS or set 'truncate_max_range = FALSE'
Writing results Done! Results are saved under path: /var/folders/3n/cx37cm9d6_725ym8brb2r2yw0000gn/T//Rtmpx8a9XH
/var/folders/3n/cx37cm9d6_725ym8brb2r2yw0000gn/T//Rtmpx8a9XH/f2b1ff4c261ed311ea989c17/0.zip

The data file it outputs is a text document with the letters "PK" in it. I am using a Mac OS and have taken the necessary steps to ensure cytofkit2 can run on a Mac. I tried setting 'truncate_max_range = FALSE' but that didn't solve the issue, either. I have tried analyzing with both UMAP and tSNE and get the same result each time. I was wondering if anyone else had run into this issue?

Thanks,
Matt Jenkins

@raman91
Copy link
Contributor

raman91 commented Jul 27, 2021

Hi, thanks for the feedback. Could you please install again and check?

@jenkinmt
Copy link
Author

okay will do. I forgot to mention that I am using RStudio version 4.1, and use the code below to install cytofkit2
if(!require(devtools)){
install.packages("devtools") # If not already installed
}
devtools::install_github("JinmiaoChenLab/cytofkit2",force=TRUE,depencencies=TRUE)

@jenkinmt
Copy link
Author

I am still getting the same error as in my initial post

@jenkinmt
Copy link
Author

Is there anything else I can try to get cytofkit2 to work?

@raman91
Copy link
Contributor

raman91 commented Jul 28, 2021

Hi, can you check the output path if there is a zip file of cytofkit ? : /var/folders/3n/cx37cm9d6_725ym8brb2r2yw0000gn/T//Rtmpx8a9XH
/var/folders/3n/cx37cm9d6_725ym8brb2r2yw0000gn/T//Rtmpx8a9XH/f2b1ff4c261ed311ea989c17/

@jenkinmt
Copy link
Author

jenkinmt commented Jul 28, 2021 via email

@jenkinmt
Copy link
Author

Update: I am able to make tSNE and UMAP plots now it seems. However, I still do get the initial error mentioned above for $PnR value and truncation (I've tried setting truncation_max_range = FALSE already). Here were the lines of code I used to get the data sets (I had to do a force install since cytofkit2 is not on bioconductor. to get the UMAPs and tSNEs to work, I had to add these additional code lines:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("IRanges")

and

if (!require("processx")) {
install.packages("processx", dependencies = TRUE)
library(processx)
}

@jenkinmt
Copy link
Author

Also, the data store in my /var/folders under Rtmp files instead of where I direct them to via the gui

@raman91
Copy link
Contributor

raman91 commented Jul 29, 2021

Thanks for the feedback. We will fix this and inform you

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