Displaying 20 results from an estimated 6000 matches similar to: "How to avoid function masking"
2005 May 04
4
Unbundling gregmisc (was: loading gap package)
Let me redirect the topic a bit. I've been considering unbundling gregmisc.
The pro would be that people would find the component packages (i.e. gdata)
more easily. The con is that the packages have a number of
interdependencies, so you pretty much will need to get most of them anyway.
As the latest gregmisc bundle contains a gregmisc package that is just a
stub that depends on and loads
2005 May 04
4
Unbundling gregmisc (was: loading gap package)
Let me redirect the topic a bit. I've been considering unbundling gregmisc.
The pro would be that people would find the component packages (i.e. gdata)
more easily. The con is that the packages have a number of
interdependencies, so you pretty much will need to get most of them anyway.
As the latest gregmisc bundle contains a gregmisc package that is just a
stub that depends on and loads
2002 Nov 27
0
R genetics package now available
The "genetics" package for handling single-locus genetic data is now
available on CRAN in both source and Windows binary formats. The purpose of
this package is to make it easy to create and manipulate genetic
information, and to facility use of this information in statistical models.
The library includes classes and methods for creating, representing, and
manipulating genotypes
2002 Nov 27
0
R genetics package now available
The "genetics" package for handling single-locus genetic data is now
available on CRAN in both source and Windows binary formats. The purpose of
this package is to make it easy to create and manipulate genetic
information, and to facility use of this information in statistical models.
The library includes classes and methods for creating, representing, and
manipulating genotypes
2005 May 04
2
loading gap package
Dear R users,
I did install R. 2.0.1, and try to load "gap" package.
However, below is the message shown when I did load it. Can anybody
please let me know my mistakes?
----
> library()
> library(gap)
Loading required package: MASS
Loading required package: genetics
Loading required package: combinat
Loading required package: gdata
Error: package 'gdata' could not be
2004 Nov 19
2
ERROR: installing package indices failed
Dear R-helpers,
I am developing a package named LDehatmap.
It depends on the "genetics" package
and includes two data files and a demo file.
When I'm trying to install it, I get the following messages:
* Installing *source* package 'LDheatmap' ...
** R
** data
** demo
** help
>>> Building/Updating help pages for package 'LDheatmap'
Formats: text html
2006 Apr 21
2
forcing apply() to return data frame
Hi All,
I am (almost) successfully using apply() to apply a function recursively
on a data matrix. The function is question is as.genotype() from the
library 'genetics'
apply(subset(chr1, names$breed == 'lab'),2,as.genotype,sep ="")
Unfortuantely apply puts it's results into a matrix object rather than a
data frame, tranforming my factors into numerics and
2011 Jan 24
2
Masking commands - Permutation in gregmisc and e1071
I am using the function permutations from the package *gregmisc*. However, I
am also making use of the package *e1071*, which also contains a function
called permutations. I want to use the function permutations from the *
gregmisc* package, however, the other package is masking this function. This
happens both when I load the *e1071* package before *gregmisc* and when I
load *e1071* after I load
2012 Jun 01
1
R Error : Error in vector("list", gamma(n + 1)) : vector size specified is too large
Dear R-listers,
I am giving part of my R code :
###########################################################
n=15
m=1
library("partitions")
library("gregmisc")
library("combinat")
x = t(restrictedparts(n-m,m))
l = length(x[,1])
for(u in 1:l){
A= unique(matrix( unlist(permn(x[u,])), ncol=m, byrow=TRUE ))
}
2002 Nov 01
0
Re: gregmisc version 0.7.3 now available
> From: kjetil halvorsen [mailto:kjetilh at umsanet.edu.bo]
>
> Martin Hoyle wrote:
> >
> > Dear Greg,
> > Thanks for the new release. The decomposition of the SSQ is
> just what I need!
> >
> I thought decomposition of the SSQ can be obtained with the split=
> argument to summary.aov? That argument seems tro be new --- it didnt
> exist two years
2005 Jan 05
1
install.packages and bundles
Hi All,
Since I changed the gregmisc package into a bundle, I almost daily questions
asking how to get the individual packages contained in the bundle.
The standard example arises when someone attempts to install and then use my
'genetics' package which depends on the 'gdata' package contained within the
'gregmisc' bundle. The install succedes, but when the user does
2004 Oct 10
1
How to install a package that needs to see oher pkg dependencies:
Hi,
I am trying to install the genetics package on a server with Linux,
Fedora. I installed it in a PC and worked fine.
In a server since I am not used with R, I am not sure what do I need to
change so genetics pkg can see some package dependencies:
Any suggestion is appreciated, Aldi
Note:
genetics expects gregmisc and mvtnorm to be installed already. gregmisc
creates gdata etc dependencies.
2007 Jun 19
1
genetics package not working
Has something changed in R that requires an update in the genetics package
by Gregory Warnes? I am using R version 2.5.0
This used to work
> summary(founders[,59])
to prove that it is a genotype class
> class(founders[,59])
[1] "genotype" "factor"
Now when I issue the command:
> summary(founders[,59])
I get:
Error in attr(retval, "which") <- which :
2013 Jul 02
2
Recoding variables based on reference values in data frame
I'm new to R (previously used SAS primarily) and I have a genetics data
frame consisting of genotypes for each of 300+ subjects (ID1, ID2, ID3,
...) at 3000+ genetic locations (SNP1, SNP2, SNP3...). A small subset of
the data is shown below:
SNP_ID SNP1 SNP2 SNP3 SNP4 Maj_Allele C G C A Min_Allele T A T G ID1
CC GG CT AA ID2 CC GG CC AA ID3 CC GG
nc
AA
2004 Mar 25
2
Odd error in R CMD check (PR#6695)
I'm seeing an odd error message when running R CMD check gregmisc with
R-1.9.0beta_2004-03-22.tar.gz
* checking package dependencies ... WARNING
Error in switch(type, code = c("R", "r", "S", "s", "q"), data = c("R", :
Argument "type" is missing, with no default
Execution halted
See the information on DESCRIPTION
2006 Dec 31
1
Genotype importing from Sequenom
Sequenom has an odd format of calling a SNP genotype
gg
[1] "C" "GA" "A" "C" "C" "AG" "C" "C" "T" "G"
homozygous A is called A and heterozygous is called AT
The genetics package cannot handle the fact that some genotypes are declared
with 2 letter while other are declared with only 1.
2007 Aug 24
3
Merging two files together in R
Hi,
Thanks in advance for reading this post.
I received some affymetrix genotyping data back recently (250K, Nsp
array)…However, in order for me to do any analysis on this data set, I need
to add append the annotation file to it. Basically I want to do something
that looks like this:
Snpfile(tab delimited):
SNPID Genotype X Y
123 AA 13.4 1.2
2006 May 02
4
Repeating tdt function on thousands of variables
I am using dgc.genetics to perform TDT analysis on SNP data from a cohort of
trios.
I now have a file with about 6008 variables. The first few variables related
to the pedigree data such as the pedigree ID the person ID etc. Thereafter
each variable is a specific locus or marker. The variables are named by a
pattern such as "Genotype.nnnnn" with nnnnn corresponding to a number which
2008 Aug 22
2
help needed for HWE.exact in library "genetics"
Hi,
I have a genotype data for both case and controls and would like to calculate the HW p-value. However, since the number of one genotype is 0, I got wired result. Would someone help me to figure it out? Or confirm it's right? Thanks a lot.
============
> library( "genetics" )
NOTE: THIS PACKAGE IS NOW OBSOLETE.
The R-Genetics project has developed an set of enhanced
2013 Jan 24
2
Please help R error message "masked from 'package:utils':combn"
Hi
The message occurred from R, when I was selected of "optimization > block
diagonal Fhiser matrix" and used the attached file on PFIM.
Could you please advise me about the following message?
*****************************
Loading required pakage: combinat
Attaching package:'combinat'
The following object(s) are masked from 'package:utils':combn