FlowCore and FlowTrack installation and running problems
1
0
Entering edit mode
@angelaoliveirapisco-8068
Last seen 8.4 years ago
European Union

Hi,

I'm new to R and I'm facing some problems.

I'm trying to install FlowCore and FlowTrack and it's not working.

I manage to run FlowCore:

> pkg <- "/private/var/folders/7h/h3fq1kf54rjgs6v_l6jhbjcc0000gn/T/RtmpJGC7dK/downloaded_packages/flowCore_1.34.3.tgz"
> install.packages(pkg, repos=NULL, type="source")
* installing *binary* package ‘flowCore’ ...
* DONE (flowCore)
> library(flowCore)
>    data(GvHD)
>    class(GvHD)
[1] "flowSet"
attr(,"package")
[1] "flowCore"
> GvHD
A flowSet with 35 experiments.

An object of class 'AnnotatedDataFrame'
  rowNames: s5a01 s5a02 ... s10a07 (35 total)
  varLabels: Patient Visit ... name (5 total)
  varMetadata: labelDescription

  column names:
  FSC-H SSC-H FL1-H FL2-H FL3-H FL2-A FL4-H Time

but then

tmixGate <- tmixFilter(parameters=c("FSC-H","SSC-H"), K=1)
Error: could not find function "tmixFilter"

> biocLite("flowTrack")
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.2), R version 3.2.0.
Installing package(s) ‘flowTrack’
Warning message:
package ‘flowTrack’ is not available (for R version 3.2.0) 
> packageVersion('mgcv')
[1] ‘1.8.6

when I check in the the /download_packages folder I have no flowTrack_x file at all...

I really appreciate if you could help me sorting this out.

Thanks,

Angela

 

 

 

 

 

flowcore flowtrack • 1.7k views
ADD COMMENT
0
Entering edit mode

'tmixFilter' belongs to 'flowClust' package and you need to install that using 'biocLite' as Dan suggested. 

ADD REPLY
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 3.3 years ago
United States

You should be using biocLite() to install all packages, not downloading packages and then installing them with install.packages()

As far as flowTrack is concerned, it looks like that package was written for a course that used R-2.11 and it may not work properly in newer versions of R. Note that flowTrack is not an official Bioconductor package. 

If you are trying to learn about flow cytometry in R/Bioconductor I recommend instead starting with Flow Cytometry and other assays which is more current and known to work under the current Bioconductor release version.  Flow experts who read this may have other tips.

Read on only if you REALLY need flowTrack.

I was able to install flowTrack like this:

source("http://bioconductor.org/biocLite.R")
courseRepos <- "http://bioconductor.org/course-packages"
allRepos <- c(courseRepos, biocinstallRepos())
install.packages("flowTrack", type="source", repos=allRepos)

Note that flowTrack is so old that it isn't using the proper vignette directory so you can't see its vignettes with browseVignettes("flowTrack");  you will need to do this:

download.packages("flowTrack", '.', repos=allRepos, type="source")

Then quit R and do this at the command prompt:

tar zxf flowTrack_0.1.0.tar.gz
open flowTrack/inst/doc/*.pdf

 

 

 

ADD COMMENT

Login before adding your answer.

Traffic: 511 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6