Displaying 20 results from an estimated 200 matches similar to: "how do I remove entries in data frame from a vector"
2020 Oct 21
0
how do I remove entries in data frame from a vector
On Wed, 21 Oct 2020 16:15:22 -0500
Ana Marija <sokovic.anamarija at gmail.com> wrote:
> Hello,
>
> I have a data frame with one column:
>
> > remove
>
> V1
>
> 1 ABAFT_g_4RWG569_BI_SNP_A10_35096
> 2 ABAFT_g_4RWG569_BI_SNP_B12_35130
> 3 ABAFT_g_4RWG569_BI_SNP_E09_35088
> 4 ABAFT_g_4RWG569_BI_SNP_E12_35136
> 5
2020 Oct 21
0
how do I remove entries in data frame from a vector
Hello,
This is probably because basename keeps the file extension, try instead
filename <- sub("(^[^\\.]*)\\..+$", "\\1", basename(celFiles))
celFiles[!filename %in% as.character(remove$V1)]
Hope this helps,
Rui Barradas
?s 22:15 de 21/10/20, Ana Marija escreveu:
> Hello,
>
> I have a data frame with one column:
>
>> remove
>
>
2020 Oct 21
1
how do I remove entries in data frame from a vector
Hello,
To remove the file extension it's much easier to use base R
filename <- tools::file_path_sans_ext(basename(celFiles))
Hope this helps,
Rui Barradas
?s 22:41 de 21/10/20, Rui Barradas escreveu:
> Hello,
>
> This is probably because basename keeps the file extension, try instead
>
>
> filename <- sub("(^[^\\.]*)\\..+$", "\\1",
2012 Oct 07
1
BioConductor package: 'oligo'
Dear Help,
After loading the pd.Citrus library and checking the DataFrame, I ran
> the R code for:
>
> 1) 'oligo'
>
>
>
> {> library(pd.citrus)
> Loading required package: RSQLite
> Loading required package: DBI
> > data(pmSequence)
>
> > show(pmSequence)
> DataFrame with 341730 rows and 2 columns
> fid sequence
> <integer>
2018 May 02
7
download.file does not process gz files correctly (truncates them?)
Dear all,
I've noticed by trying to download gz files from here :
https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM907811
At the bottom one can download GSM907811.CEL.gz . If I download this
manually and try
oligo::read.celfiles("GSM907811.CEL.gz")
everything works fine. (oligo is a bioConductor package)
However, if I download using
download.file("
2018 Mar 21
1
Package 'pd.mirna.1.0.2xgain' was not found in the BioConductor repository
Hi all!
While I am trying to read .cel files with oligo package:
afbatch=read.celfiles(list.celfiles())
I get an error:
Package 'pd.mirna.1.0.2xgain' was not found in the BioConductor repository
How can I overcome this?
Thank you in advance
2009 Dec 26
1
[BioC] How to do RMA without summary to probeset level?
I think that you misunderstood me.
As far as I know, RMA does three things: background correction,
quantile normalization, and summary from probes to probesets. I want
the probe values after background correction and quantile
normalization but before the summary.
On Sat, Dec 26, 2009 at 12:07 PM, Benilton Carvalho <bcarvalh at jhsph.edu> wrote:
> pm(data)
>
> b
>
> On Dec
2009 Jan 27
1
Problem with RMA using limma, oligo and pdInfoBuilder packages
Hi,
I am a Ph.D. student from Québec, Canada. I’m a beginner with R and
Bioconductor. Until now the only experience I have is in analyzing
microarray data using affy and limma packages. Now I am trying to analyze
Rat Gene 10 st arrays and I would like to run RMA analysis and Smyth
moderated t test on those arrays. Since no cdf official package is available
for those arrays, after reading many
2011 May 09
1
rquest for help
Sir,
Kindlly Guide me how to get the R CELFILES. I have install R but I cannat asses the command:
Data <- ReadAffy()
and I got the error:
Error in AllButCelsForReadAffy(..., filenames = filenames, widget = widget, :
No cel filennames specified and no cel files in specified directory:C:/Documents and Settings/pawan.k/Desktop.
Wit regds,
Pawan
________________________________
This e-mail
2009 Sep 10
1
importing/loading package without a namespace
I am developing a package that imports some functions from another package.
The imported package (qcc) does not have a namespace and this is causing
problems with loading of my package, which has a namespace. Is there a
workaround to allow loading the namespace-less package?
I searched the archives and found a suggestion that the package should be
included in the Depends list, but this has not
2011 Aug 08
1
read in cel file by ReadAffy and read.celfile
Hi there,
I got a problem when trying to read in a .cel file using ReadAffy().
R codes:
require(affy)
ReadAffy(filenames="CH1.CEL")
It failed and I got the error,
Error in read.celfile.header(as.character(filenames[[1]])) :
Is CH1.CEL really a CEL file? tried reading as text, gzipped text, binary,
gzipped binary, command console and gzipped command console formats
Also, I tried
2010 Mar 04
6
help
Hi all ,
I have one query.
i have list of some .cel files. in my program i have to mention the path of
these .cel files
part of my program is,
rna.data<-exprs(justRMA(filenames=file.names, celfile.path=*datadir*,
sampleNames=sample.names, phenoData=pheno.data,
cdfname=cleancdfname(hg18_Affymetrix U133A)))
in the place of "datadir" i have to mention the character string of the
2009 Aug 25
1
package dependencies specification
Hello,
After running R CMD check on my package I received the following error on
package dependencies:
* using log directory 'C:/z-zBackup/Nuvera Bio on
Iatros01/Development/RPackages/nvNormalize/nvNormalize.Rcheck'
* using R version 2.9.1 (2009-06-26)
* using session charset: ISO8859-1
* checking for file 'nvNormalize/DESCRIPTION' ... OK
* checking extension type ... Package
*
2005 Aug 31
1
tcl/tk return problem
Hello,
I'm very new in working with tcl/tk in R and have a problem which will
probably
sound silly to most of you.
Here is the code I have problems with:
readcelfiles <- function()
{
require(tcltk)
tt <- tktoplevel()
tkgrid(tklabel(tt,text="Choose a directory!"))
OnOK <- function()
{
fileDir<-tclvalue(tkchooseDirectory())
data.raw <-
2018 May 03
0
download.file does not process gz files correctly (truncates them?)
On 05/02/2018 03:21 PM, Joris Meys wrote:
> Dear all,
>
> I've noticed by trying to download gz files from here :
> https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM907811
>
> At the bottom one can download GSM907811.CEL.gz . If I download this
> manually and try
>
> oligo::read.celfiles("GSM907811.CEL.gz")
>
> everything works fine. (oligo
2018 May 03
0
download.file does not process gz files correctly (truncates them?)
Use mode="wb" when you download the file. See
https://github.com/HenrikBengtsson/Wishlist-for-R/issues/30.
R core, and others, is there a good argument for why we are not making this
the default download mode? It seems like a such a simple fix to such a
common "mistake".
Henrik
On Thu, May 3, 2018, 00:44 Joris Meys <jorismeys at gmail.com> wrote:
> Dear all,
>
2018 May 03
0
download.file does not process gz files correctly (truncates them?)
Using the correct mode absolutely solves it. Apologies for not trying the
obvious.
Cheers
Joris
On Thu, May 3, 2018 at 2:10 PM, Martin Morgan <martin.morgan at roswellpark.org
> wrote:
>
>
> On 05/02/2018 03:21 PM, Joris Meys wrote:
>
>> Dear all,
>>
>> I've noticed by trying to download gz files from here :
>>
2007 Aug 06
1
Problems with expresso
Hello,
I want to use expresso for preprocessing the hgu133a-spikein data from
affycompII. But there is an error:
> library(affy)
> path <- "z:/Microarray/hgu133a-spikein/rawdata"
> celFile <- list.celfiles(path=path,full.names=TRUE);
> affyBatch <- ReadAffy(filenames=celFile[1:6]);
> eset1 <-
2018 May 03
0
download.file does not process gz files correctly (truncates them?)
Dear all,
I've been diving a bit deeper into this per request of Tomas Kalibra, and
found the following :
- the lock on the file is only after trying to read it using oligo, so
that's not a R problem in itself. The problem is independent of extrenal
packages.
- using Windows' fc utility and cygwin's cmp utility I found out that every
so often the download.file() function inserts
2012 Feb 28
1
Error in read.table(file = file, header = header, sep = sep, quote = quote, : more columns than column names
Hey,
I just googled my error and many things came up. I followed the leads and
read the ?read.delim page; I tried changing header = TRUE, and row.names =
TRUE-- but I've still been having trouble fixing it, so I would greatly
appreciate any help you can provide. Here is my code:
rm(list=ls())
source("../../functions.R")
uncurated <-