-
Notifications
You must be signed in to change notification settings - Fork 25
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
ReadInput/AddFlowframe: doc #17
Comments
Hi. I just have noticed that you updated the code fff3982. That's fine, but you are the developer and don't have to follow any wish. Thanks. Lines 164 to 166 in fff3982
Best. |
Hi, thank you very much for your input! Could you explain clearer to me what you think is going wrong in the current version of the code? I am not sure if I understand your last remark. Best, |
Nothing's wrong with the current code. Line 148 in fff3982
Best. |
Dear Sophie, |
Dear Wade,
The AddFlowframe function is an internal function (if need be, accessible
by FlowSOM::: AddFlowframe), which is used when reading the initial dataset
for training.
In the case you are describing, you want to use the NewData function
instead, which will take the original model and a flowframe as input and
map all the cells to the right clusters, compute the updates MFIs etc. If
you have many files, this allows you to map every file one by one and only
keep track of the counts/percentages per cluster without ever needing to
keep all the data in memory at once.
I hope this helps, let me know if you have any other questions.
Kind regards,
Sofie
…On Mon, 13 May 2019, 22:05 Wade Rogers, ***@***.***> wrote:
Dear Sophie,
Many thanks for FlowSOM! I'm very excited to use it. I am having trouble
with the method AddFlowFrame(). Specifically, the function doesn't appear
to exist. I've just updated R to the latest stable version, 3.6.0, and
installed FlowSOM v1.16.0 using BiocManager::install("FlowSOM").
I have done extensive pre-processing (compensation, transformation, and
pre-gating) on my data outside of FlowSOM, and everything is held in a
flowSet. I built a FlowSOM object on an aggregated and sampled subset of
the data (for efficiency) and now would like to add back all of the
original data. It seemed like AddFlowFrame could be used iteratively for
each frame of the flowSet. However, it does not appear that the function
AddFlowFrame() exists. Could you let me know if I'm doing something wrong
or if you have any suggestions?
Many thanks again!
Wade
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17?email_source=notifications&email_token=AAOS7223O5GYPTTZY6ZQHDLPVHCYTA5CNFSM4FWJ53YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVJM5SA#issuecomment-491966152>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOS723DHN5HPW3DZCMHUZDPVHCYTANCNFSM4FWJ53YA>
.
|
Many thanks Sofie. Will give it a go! |
Hi. To be more precise, when no compensation matrix is given, but compensation is wanted (compensate = TRUE), the spillover matrix is searched in the first flowFrame (or FCS file), and the next flowFrames (or FCS files) will be compensated with this spillover matrix, not their own.
To be short, the compensation matrix of the flowSOM object is the one of the first FCS, and all added FCS are compensated with it.
FlowSOM/R/1_readInput.R
Lines 10 to 13 in 7d1fcfc
FlowSOM/R/1_readInput.R
Lines 130 to 163 in 7d1fcfc
L135 ... and spillover matrix instantiated (?)
Thanks for reviewing my comments. Best.
The text was updated successfully, but these errors were encountered: