Displaying 20 results from an estimated 100 matches similar to: "plot Geneland result in a map"
2009 Jan 13
3
problem whit Geneland
I do the these passages:
library(Geneland)
set.seed(1)
data <- simdata(nindiv=200,
coord.lim=c(0,1,0,1) ,
number.nuclei=5 ,
allele.numbers=rep(10,20),
IBD=FALSE,
npop=2,
give.tess.grid=FALSE)
geno <- data$genotypes
coord <- t(data$coord.indiv)
path.mcmc <-
2010 May 20
1
Geneland error on unix: Error in MCMC(........ :, unused argument(s) (ploidy = 2, genotypes = geno)
I am receiving the above error ( full r session output below) the
script runs OK in windows. and "genotypes" and "ploidy" are both
correct arguments
any suggestions would be most welcome
Nevil Amos
MERG/ACB
Monash University School of Biological Sciences
> library(Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required
2008 Aug 25
1
Unicode notation \x000
Dear list,
I am trying to replace Unicode notation of German and Spanish special
characters (as read in by read.csv from excel spreadsheets) by
character strings that can be interpreted by LaTeX.
E.g.:
uni2latex <- function(x){
x <- gsub("&", "et", x, fixed = TRUE)
# Deutsch
x <- gsub("\u0080", "\\\"A", x, fixed = TRUE)
x
2008 Nov 22
1
Nested Clade Analysis
Hi
Wondering if anyone knows of a package that does Nested Clade Analysis?
Thanks
--
View this message in context: http://www.nabble.com/Nested-Clade-Analysis-tp20637180p20637180.html
Sent from the R help mailing list archive at Nabble.com.
2008 Sep 04
1
Binary Tree Testing in "ape" package (a bug?)
Dear all,
I was testing the wonderful package APE.
However upon testing a particular Newick's format
tree - which I think to be a non-binary tree -
it yields different result as expected.
> library(ape)
> tree.hiv <- read.tree(text="(rat,mouse,(human,chimp));")
> is.binary.tree(tree.hiv)
[1] TRUE
Was that a bug in APE package?
- Gundala Viswanath
Jakarta - Indonesia
2008 Aug 04
3
backslash in character string?
Dear list,
After searching many old posts, I can't find the solution to a simple problem.
can someone tell me how to create a character string with multiple backslashes, as in:
file_dir <- c("C:\files\data\")
I need to create this string and then paste it to many files names for batch processing in another software program. R won't accept the backslash and removes
2011 Apr 04
0
Multithreading of Geneland
Hi all,
I would like to multithread that script, to detect structure from multilocus genetic data :
>library(Geneland)
>
>geno = read.table("cot966gen_test.txt") #the file is show after
>MCMC(geno.dip.codom = geno, varnpop=T, npopmax=20, spatial = F, nit=100000, thinnin=100, path.mcmc="./")
>PostProcessChain(path.mcmc="./", nxdom=100, nydom=100,
2008 Dec 09
2
problem with Vista
Hello,
I want to import a txt table into R but the software give me this message. I have windows vista.
Errore in file(file, "r") : cannot open this connection
Besides: Warning message:
In file(file, "r") :
cannot open file 'C:/Users/Vincenzo/Desktop/prova/prova.txt': No such file or directory
thank you
**********************************************************
2007 Sep 04
4
integers
Hi list,
The function is.integer tests if an object is of type integer:
see e.g.:
is.integer(12) # FALSE
is.real(12) # TRUE
mode(12) # "numeric"
But how can I test if a number is actually an integer? R seek is
difficult to search in this case because it mainly yields entries
about the integer()-function family.
Thanks for any hint!
Christoph Heibl
2010 May 31
0
miss.loc function in MCMC Geneland: can't make it work
I am trying to use the function 'filter.NA=TRUE' in Geneland. The function
appears to be set on TRUE by default, as it appears as TRUE in the
'parameter.txt' file output and hence I do not need to enter the function
per se (as it is an 'Unused argument otherwise') . Hence all my missing
data (individuals that I have not yet scored at that specific loci) are
scored as
2008 May 08
2
LaTeX in system()
Dear list,
I want to run latex from an R script:
system("latex mysource.tex")
or:
texi2dvi("mysource.tex", pdf = TRUE, clean = FALSE, quiet = TRUE,
texi2dvi = latex)
but latex does not seem to be on the search path:
/bin/sh: line 1: latex: command not found.
Although 'printenv PATH' tells me that the usr/texbin is looked for
executables:
2007 Jun 25
2
transposing data.frames
Hello,
This must be simple...
Thanks a lot
- Christoph
# Imagine you have a list, e.g:
K <- list(1:10, 2:11, 9:18)
K
# Transforming to dataframe...
KK <- as.data.frame(K)
# ... one obtaines the list elements as column.
KK
# But I need the list elements as rows
# How can I achieve this? Is there a simple way to transpose
data.frames?
2004 Oct 25
5
building a package under windows
Hi,
I have a package of my own which seems to work fine under linux.
I want to make a compiled version for windows.
(I work with windows 2000 and R 2.0)
I have followed the steps described in the file
readme.packages (in the top-level directory of the binary installation)
and I had a trouble at this step (which aim is not documented):
C:\Program Files\R\rw2000\src\gnuwin32>make libR.a
2007 Jan 26
2
Why do return or visible don´t return my objekt?
Dear RRRRRrrrrrrrrlist!
I?ve got two lists which contain sets of DNA-sequences. They look
something like this:
List of 33
$ Cunonia_atrorubens : chr [1:247] "t" "t" "n" "t" ...
$ Cunonia_balansae : chr [1:254] "t" "c" "c" "c" ...
$ Cunonia_capensis : chr
2010 May 29
1
warning In fun(...) : no DISPLAY variable so Tk is not available
I am getting the above warning following loading of Geneland 3.1.5 on
unix , while a simple plot sends output to the pdf file ( see attached
code) no output results from Geneland functions, resulting in empty pdf
files
> library (Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required package: spam
Package 'spam' is loaded. Spam version
2004 Oct 22
1
building an R package : where and how should my fortran library be loaded ?
Hi ,
I'm currently trying to make available
a few fortran subroutines and R functions
(which make interface to these subroutines),
as an R package.
I'm doing it under linux with R 1.9.0
(but hope to do it for windows too).
I have trouble for loading my fortran code.
Here are the steps involved :
1) In R:
# Create tree for package
2011 Jul 04
0
[LLVMdev] Deleting unused C++ code
On Mon, Jul 4, 2011 at 1:42 AM, Øyvind Harboe <oyvind.harboe at zylin.com> wrote:
> On Sun, Jul 3, 2011 at 10:34 PM, Reid Kleckner <reid.kleckner at gmail.com> wrote:
>> An easier way would be to use a coverage tool like gcov to see what's
>> actually *used* when the app is run normally. Then you can ask the
>> question, what percentage of all lines of code
2010 May 07
1
writing string values from a matrix to a file without enclosing quotes
I am trying to format data for the Geneland package
I need to write a series of paired numbers and paired "000"
to a plain ascii file without surrounding the numerals with quotes,
the original data is in a matrix formatted paired strings,
and written to file using
write.table(x,"output filename",col.names=F,row.names=F)
thus
"77 79" "132 132" "000
2007 Jan 28
4
Compiz .36 => No Borders
hi all
i'm running debian sid..and i tried to compile the las version of compiz
because the old version of compiz did not supported compiz settings..
btw here is what i did:
1) followed the official compiling guide =>
http://go-compiz.org/index.php?title=Compiling
2) try to run by launching compiz...but the only results was to not view
the windows' borders..
so i searched in the
2011 Jul 04
2
[LLVMdev] Deleting unused C++ code
On Sun, Jul 3, 2011 at 10:34 PM, Reid Kleckner <reid.kleckner at gmail.com> wrote:
> An easier way would be to use a coverage tool like gcov to see what's
> actually *used* when the app is run normally. Then you can ask the
> question, what percentage of all lines of code are dead?
We need something that can do this using static analysis... Otherwise
we can just use Eclipse