-
Notifications
You must be signed in to change notification settings - Fork 8
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
Initial installation of Scaffold in R #2
Comments
I am not a developer of this code but I am commenting as an interested party. I would agree that the README, while strong on installation concepts, does not really take a new user through the steps required to have a successful first run. You are using Rstudio. Thus when you start run.scaffold(), a browser window to drive the analysis will open, but also, a widget will pop up asking you to pick a file. Implicitly you must pick a file that has .fcs as suffix. In the browser interface, you are asked in the README to select "Run clustering". Given that you have chosen an FCS file, the "Run clustering" panel will have dropdowns with options for file choice, marker choice, and clustering options. Certain defaults are provided. I used an FCS file from flowCore: |
I am developing this neither, but testing Scaffold is in my todo list. I fully agree that a small set of FCS files would allow one to test the installation and the concept. FCS files usually end with a ".fcs" extension. Nolan lab is mainly working with latest CyTOF instrument whereas flowCore demo files were acquired a decade ago or so. One must select a FCS file in order to inform the software about the location of the folder that contains the FCS files to process (using shinyFiles library sounds a better option IMHO, https://cran.r-project.org/web/packages/shinyFiles). In order to restart a shiny app, press the red STOP of the R console. To reproduce/accelerate Vince's test, select FL[1234]-H channels only, ask for 20 clusters instead of 200, set arcsinh to 150 or 500 rather than 5 (150 is for fluorescent cytometry and stated later in the README), and run (I don't know what "samples" means, may be "runs" ie repetitions). Within a few minutes you get text files as results. Unfortunately, I get stuck in constructing a SCAFFoLD map. HTH
Characteristics of demo files.
Archive with FCS files and clustering results |
Hi all,
I'm a PhD student in the nolan lab and have successfully used scaffold once
by following instructions. Since academic labs don't usually tend to have
full-time staff for tech support and programming, the code is on GitHub for
the purpose of being examined and extended. If you'd like to get any test
files, our lab usually deposits those with publication. For example, you
can download FCS data here:
https://web-stanford-edu.laneproxy.stanford.edu/~samusik/Panorama BM
1-10.zip
Hope you find this helpful! And good luck!!
Zina
…--
Zinaida Good
415-290-8944
On Thu, Mar 16, 2017 at 1:12 PM, SamGG ***@***.***> wrote:
I am developing this neither, but testing Scaffold is in my todo list.
I fully agree that a small set of FCS files would allow one to test the
installation and the concept. FCS files usually end with a ".fcs"
extension. Nolan lab is mainly working with latest CyTOF instrument whereas
flowCore demo files were acquired a decade ago or so.
One must select a FCS file in order to inform the software about the
location of the folder that contains the FCS files to process (using
shinyFiles library sounds a better option IMHO,
https://cran.r-project.org/web/packages/shinyFiles). In order to restart
a shiny app, press the red STOP of the R console.
To reproduce/accelerate Vince's test, select FL[1234]-H channels only, ask
for 20 clusters instead of 200, set arcsinh to 150 or 500 rather than 5
(150 is for fluorescent cytometry and stated later in the README), and run
(I don't know what "samples" means, may be "runs" ie repetitions). Within a
few minutes you get text files as results. Unfortunately, I get stuck in
constructing a SCAFFoLD map.
HTH
> scaffold.run()
Listening on http://127.0.0.1:4659
NULL
[1] "Performing clara clustering"
[1] "Clustering done"
[1] "Performing clara clustering"
[1] "Clustering done"
[1] "Performing clara clustering"
[1] "Clustering done"
[1] "Markers used for SCAFFoLD: FL1-H, FL2-H, FL3-H, FL4-H"
[1] "Using as reference 0877408774.B08.fcs.clustered.txt"
[1] "Downsampling to 1000 events"
Warning: Error in <-: attempt to set an attribute on NULL
Stack trace (innermost first):
89: load_attractors_from_gated_data
88: scaffold:::run_analysis_gated
81: isolate
80: renderText [C:\Users\samgg\Documents\R\win-library\3.3\scaffold\shinyGUI/server.R#352]
79: func
78: origRenderFunc
77: output$analysisui_empty
2: runApp
1: scaffold.run
Characteristics of demo files.
flowFrame object '0877408774.B08'
with 10000 cells and 8 observables:
name desc range minRange maxRange
$P1 FSC-H FSC-H 1024 0 1023
$P2 SSC-H SSC-H 1024 0 1023
$P3 FL1-H <NA> 1024 0 1023
$P4 FL2-H <NA> 1024 0 1023
$P5 FL3-H <NA> 1024 0 1023
$P6 FL1-A <NA> 1024 0 1023
$P7 FL4-H <NA> 1024 0 1023
$P8 Time Time (51.20 sec.) 1024 0 1023
149 keywords are stored in the 'description' slot
Archive with FCS files and clustering results
scaffold-demo.zip
<https://github.com/nolanlab/scaffold/files/848907/scaffold-demo.zip>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIDe2w6SoE-p2DR0aQbOZe9oD5MOiOtKks5rmZeVgaJpZM4MfPyN>
.
|
Dear all,
Thank you for your help.
Sorted now.
Regards
Nyari
From: Zinaida Good [mailto:[email protected]]
Sent: 17 March 2017 05:16 AM
To: nolanlab/scaffold
Cc: Nyari Chigorimbo; Author
Subject: Re: [nolanlab/scaffold] Initial installation of Scaffold in R (#2)
Hi all,
I'm a PhD student in the nolan lab and have successfully used scaffold once
by following instructions. Since academic labs don't usually tend to have
full-time staff for tech support and programming, the code is on GitHub for
the purpose of being examined and extended. If you'd like to get any test
files, our lab usually deposits those with publication. For example, you
can download FCS data here:
https://web-stanford-edu.laneproxy.stanford.edu/~samusik/Panorama BM
1-10.zip
Hope you find this helpful! And good luck!!
Zina
--
Zinaida Good
415-290-8944
On Thu, Mar 16, 2017 at 1:12 PM, SamGG ***@***.******@***.***>> wrote:
I am developing this neither, but testing Scaffold is in my todo list.
I fully agree that a small set of FCS files would allow one to test the
installation and the concept. FCS files usually end with a ".fcs"
extension. Nolan lab is mainly working with latest CyTOF instrument whereas
flowCore demo files were acquired a decade ago or so.
One must select a FCS file in order to inform the software about the
location of the folder that contains the FCS files to process (using
shinyFiles library sounds a better option IMHO,
https://cran.r-project.org/web/packages/shinyFiles). In order to restart
a shiny app, press the red STOP of the R console.
To reproduce/accelerate Vince's test, select FL[1234]-H channels only, ask
for 20 clusters instead of 200, set arcsinh to 150 or 500 rather than 5
(150 is for fluorescent cytometry and stated later in the README), and run
(I don't know what "samples" means, may be "runs" ie repetitions). Within a
few minutes you get text files as results. Unfortunately, I get stuck in
constructing a SCAFFoLD map.
HTH
> scaffold.run()
Listening on http://127.0.0.1:4659
NULL
[1] "Performing clara clustering"
[1] "Clustering done"
[1] "Performing clara clustering"
[1] "Clustering done"
[1] "Performing clara clustering"
[1] "Clustering done"
[1] "Markers used for SCAFFoLD: FL1-H, FL2-H, FL3-H, FL4-H"
[1] "Using as reference 0877408774.B08.fcs.clustered.txt"
[1] "Downsampling to 1000 events"
Warning: Error in <-: attempt to set an attribute on NULL
Stack trace (innermost first):
89: load_attractors_from_gated_data
88: scaffold:::run_analysis_gated
81: isolate
80: renderText [C:\Users\samgg\Documents\R\win-library\3.3\scaffold\shinyGUI/server.R#352]
79: func
78: origRenderFunc
77: output$analysisui_empty
2: runApp
1: scaffold.run
Characteristics of demo files.
flowFrame object '0877408774.B08'
with 10000 cells and 8 observables:
name desc range minRange maxRange
$P1 FSC-H FSC-H 1024 0 1023
$P2 SSC-H SSC-H 1024 0 1023
$P3 FL1-H <NA> 1024 0 1023
$P4 FL2-H <NA> 1024 0 1023
$P5 FL3-H <NA> 1024 0 1023
$P6 FL1-A <NA> 1024 0 1023
$P7 FL4-H <NA> 1024 0 1023
$P8 Time Time (51.20 sec.) 1024 0 1023
149 keywords are stored in the 'description' slot
Archive with FCS files and clustering results
scaffold-demo.zip
<https://github.com/nolanlab/scaffold/files/848907/scaffold-demo.zip>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIDe2w6SoE-p2DR0aQbOZe9oD5MOiOtKks5rmZeVgaJpZM4MfPyN>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AQo9_OslUKZKuq0ltIRG63msrS2o77f8ks5rmfr6gaJpZM4MfPyN>.
|
On Thu, Mar 16, 2017 at 11:16 PM, Zinaida Good <[email protected]>
wrote:
Hi all,
I'm a PhD student in the nolan lab and have successfully used scaffold once
by following instructions. Since academic labs don't usually tend to have
full-time staff for tech support and programming, the code is on GitHub for
the purpose of being examined and extended. If you'd like to get any test
files, our lab usually deposits those with publication. For example, you
can download FCS data here:
https://web-stanford-edu.laneproxy.stanford.edu/~samusik/Panorama BM
1-10.zip
Thanks for your note. Is that link resolvable to those outside Stanford?
I am getting a login prompt for a Stanford-linked institution.
… Hope you find this helpful! And good luck!!
Zina
--
Zinaida Good
415-290-8944 <(415)%20290-8944>
On Thu, Mar 16, 2017 at 1:12 PM, SamGG ***@***.***> wrote:
> I am developing this neither, but testing Scaffold is in my todo list.
>
> I fully agree that a small set of FCS files would allow one to test the
> installation and the concept. FCS files usually end with a ".fcs"
> extension. Nolan lab is mainly working with latest CyTOF instrument
whereas
> flowCore demo files were acquired a decade ago or so.
>
> One must select a FCS file in order to inform the software about the
> location of the folder that contains the FCS files to process (using
> shinyFiles library sounds a better option IMHO,
> https://cran.r-project.org/web/packages/shinyFiles). In order to restart
> a shiny app, press the red STOP of the R console.
>
> To reproduce/accelerate Vince's test, select FL[1234]-H channels only,
ask
> for 20 clusters instead of 200, set arcsinh to 150 or 500 rather than 5
> (150 is for fluorescent cytometry and stated later in the README), and
run
> (I don't know what "samples" means, may be "runs" ie repetitions).
Within a
> few minutes you get text files as results. Unfortunately, I get stuck in
> constructing a SCAFFoLD map.
>
> HTH
>
> > scaffold.run()
>
> Listening on http://127.0.0.1:4659
> NULL
> [1] "Performing clara clustering"
> [1] "Clustering done"
> [1] "Performing clara clustering"
> [1] "Clustering done"
> [1] "Performing clara clustering"
> [1] "Clustering done"
> [1] "Markers used for SCAFFoLD: FL1-H, FL2-H, FL3-H, FL4-H"
> [1] "Using as reference 0877408774.B08.fcs.clustered.txt"
> [1] "Downsampling to 1000 events"
> Warning: Error in <-: attempt to set an attribute on NULL
> Stack trace (innermost first):
> 89: load_attractors_from_gated_data
> 88: scaffold:::run_analysis_gated
> 81: isolate
> 80: renderText [C:\Users\samgg\Documents\R\win-library\3.3\scaffold\
shinyGUI/server.R#352]
> 79: func
> 78: origRenderFunc
> 77: output$analysisui_empty
> 2: runApp
> 1: scaffold.run
>
> Characteristics of demo files.
>
> flowFrame object '0877408774.B08'
> with 10000 cells and 8 observables:
> name desc range minRange maxRange
> $P1 FSC-H FSC-H 1024 0 1023
> $P2 SSC-H SSC-H 1024 0 1023
> $P3 FL1-H <NA> 1024 0 1023
> $P4 FL2-H <NA> 1024 0 1023
> $P5 FL3-H <NA> 1024 0 1023
> $P6 FL1-A <NA> 1024 0 1023
> $P7 FL4-H <NA> 1024 0 1023
> $P8 Time Time (51.20 sec.) 1024 0 1023
> 149 keywords are stored in the 'description' slot
>
> Archive with FCS files and clustering results
> scaffold-demo.zip
> <https://github.com/nolanlab/scaffold/files/848907/scaffold-demo.zip>
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#2 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AIDe2w6SoE-
p2DR0aQbOZe9oD5MOiOtKks5rmZeVgaJpZM4MfPyN>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEaOwrqFgnXnktTozuBDhllcjug7ez4Hks5rmfr4gaJpZM4MfPyN>
.
|
Hey guys, How can I export pdf's of the scaffold maps? |
Download SVG crowbar
…On Thu, Mar 30, 2017 at 7:16 AM, Dunja Mrdjen ***@***.***> wrote:
Hey guys, How can I export pdf's of the scaffold maps?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AICG6iJi3Lflsx00YEhIM_xoI5kGDkYyks5rq7ktgaJpZM4MfPyN>
.
--
David R. McIlwain, PhD
Postdoctoral Fellow
Garry Nolan Lab
Baxter Laboratory for Stem Cell Biology
Stanford University Medical Center
269 Campus Drive, CCSR 3235
Stanford, CA 94305-5175
United States
Email: [email protected]
Mobile: +1(650) 646-8957
Web: https://med.stanford.edu/profiles/david-mcilwain
|
Cool thanks for the tip.
…------------------
Dunja Mrdjen
University of Zurich
Institute of Experimental Immunology
Laboratory of Burkhard Becher
Lab Y44 Room J94, Office Y23 K67
Winterthurerstr. 190
CH-8057 Zurich
Phone: +41-44-63-53707 / 53718
[email protected] <mailto:[email protected]>
www.immunology.uzh.ch <http://www.immunology.uzh.ch/>
On 30 Mar 2017, at 22:19, davemcilwain ***@***.***> wrote:
Download SVG crowbar
On Thu, Mar 30, 2017 at 7:16 AM, Dunja Mrdjen ***@***.***>
wrote:
> Hey guys, How can I export pdf's of the scaffold maps?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#2 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AICG6iJi3Lflsx00YEhIM_xoI5kGDkYyks5rq7ktgaJpZM4MfPyN>
> .
>
--
David R. McIlwain, PhD
Postdoctoral Fellow
Garry Nolan Lab
Baxter Laboratory for Stem Cell Biology
Stanford University Medical Center
269 Campus Drive, CCSR 3235
Stanford, CA 94305-5175
United States
Email: ***@***.***
Mobile: +1(650) 646-8957
Web: https://med.stanford.edu/profiles/david-mcilwain
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#2 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ATLIvYHr_g46ySFdOLSsIco78yym79vbks5rrA5WgaJpZM4MfPyN>.
|
Is it possible to plot single cells instead of clustered nodes, in points rather than in bubbles? |
Hi Dunja,
The single-cell force-directed layout has been imlitemned in Vortex
software (Samusik et al, Nature Methods 2016). Yo can include landmark
cells there. To my knowledge, there are no plan to implement singe-cell
view in Scaffold (it may make Scaffold plots too messy also).
Zina
…--
Zinaida Good
415-290-8944
On Mon, May 22, 2017 at 1:51 AM, Dunja Mrdjen ***@***.***> wrote:
Is it possible to plot single cells instead of clustered nodes, in points
rather than in bubbles?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIDe2yJ9ua9-MEul4yaH9rDNO-ega8BXks5r8UyagaJpZM4MfPyN>
.
|
Hi there, This is the print out I get in R studio - Any suggestions where I am missing this TRUE/FALSE value? Thanks very much. |
Hi !
Listening on http://127.0.0.1:5732 here windows popup normally and I choose a FCS fileERROR: [on_request_read] connection reset by peer please Help :) |
Hi! |
Hello,
I am struggling to get started with using scaffold in R. I have been able to load all the packages but when i get to loading my files nothing happens. I get the NULL response in R studio and I cannot choose a dataset or anything on the page in the browser.
Can you help?
Nyari
The text was updated successfully, but these errors were encountered: