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

truncate_max_range = FALSE #121

Closed
dietmar113 opened this issue Jan 10, 2022 · 2 comments
Closed

truncate_max_range = FALSE #121

dietmar113 opened this issue Jan 10, 2022 · 2 comments

Comments

@dietmar113
Copy link

Hi,
I got this Warning:
1: In readFCSdata(con, offsets, txt, transformation, which.lines, scale, :
Some data values of 'eFluor 450-A' channel exceed its $PnR value 4194304 and will be truncated!
To avoid truncation, either fix $PnR before generating FCS or set 'truncate_max_range = FALSE'

and wanted to avoid the truncation by adding "truncate_max_range = FALSE" to the function:
Spectre::read.files(file.loc = InputDirectory,
file.type = ".fcs", truncate_max_range = FALSE
do.embed.file.names = TRUE)

which does not work.

How will it work?

Thank you,

@SamGG
Copy link

SamGG commented Jan 10, 2022

Hi,
The function in the read.Files.R file has no extra options (...) passed to the read.FCS function.
This will not work unless you modify the code yourself, which is easy if you know a little bit of R.
Best.

@ghar1821
Copy link
Member

I've added the extra options to read.files. You can now use truncate_max_range parameter which will simply be passed on to flowCore's read.FCS function.

For now, to use it, please install the package version in the development branch using devtools::install_github("immunedynamics/spectre", ref='development')

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

4 participants