--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/CAD%2Bk70nV8xs6FOKAO-Xqu6NZ1GOK4hvXmU%3DTXgm14ouJgTC23A%40mail.gmail.com.
Hi Kate,
Not sure. What would you like to fill in for the minssing loci (NAs I assume) and this most likely does then introduce a lot of NAs
My idea would be to reduce the genlights object to have the same number of loci and then combine those two, but maybe I am just missing the ideas why joining to genlight object with different number of loci is beneficial.
To subset you can simply use the gl.keep.loc function.
Cheers,Bernd
==============================================================================
Dr Bernd Gruber )/_
_.--..---"-,--c_
Professor Ecological Modelling \|..' ._O__)_
Tel: (02) 6206 3804 ,=. _.+ _ \..--( /
Fax: (02) 6201 2328 \\.-''_.-' \ ( \_
Institute for Applied Ecology `''' `\__ /\
Faculty of Science and Technology ')
University of Canberra ACT 2601 AUSTRALIA
Email: bernd....@canberra.edu.au
WWW: bernd-gruber
Australian Government Higher Education Provider Number CRICOS #00212K
NOTICE & DISCLAIMER: This email and any files transmitted with it may contain
confidential or copyright material and are for the attention of the addressee
only. If you have received this email in error please notify us by email
reply and delete it from your system. The University of Canberra accepts
no liability for any damage caused by any virus transmitted by this email.
==============================================================================
--
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/SYBPR01MB543945C1A0CE505AFA2DAED3D49E9%40SYBPR01MB5439.ausprd01.prod.outlook.com.
Hi Michael,
This is a memory issue.
Maybe first do a garbage collection
gc() #this free unused memory in case you have done a lot of calculations before.
Then check your R version and if you run on 64 Bit.
> R.version
_
platform x86_64-w64-mingw32
arch x86_64
Then you could try to increase your memory limit (first save everything as this might stall your system).
memory.size() ### Checking your memory size
memory.limit() ## Checking the set limit
memory.limit(size=16000) ### expanding your memory _ here it needs to be higher than you current memory (depends how many GB you have, I have 16 GB memory so 16000 is close to max here).
Limit is in MB units.
Hope that helps,
Cheers, Bernd
Ps out of interest how big is your data set (individuals and loci)
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/f8c63f62-d927-4803-be8c-588108a8a655n%40googlegroups.com.
On 30 Jun 2021, at 10:33 pm, Michael Sandel <evo...@gmail.com> wrote:
My apologies, Bernd. It appears that I missed one of the other solutions provided earlier in the thread:
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/5eea1a20-5aa2-40e0-bde6-02268d8aca4bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/578A909D-940F-44C2-A075-E3AD4B913F7E%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/CAAJb2EdgO4KeqewQx4qDAj5K%3Dkv_NDgmULsaa13Oy8OZxse2TA%40mail.gmail.com.
Hi,
Good discussion here and enjoy reading it as it demonstrates the user needs and difficulties.
Not sure if it helps at the moment, but we are working together with dart on a dartR function that lets you directly access the report from their server and convert into genlight into R.
This would avoid the need to join files and also duplicates in names etc.
Cheers, Bernd
From: da...@googlegroups.com <da...@googlegroups.com>
On Behalf Of Renee Catullo
Sent: Thursday, 1 July 2021 12:19 PM
To: da...@googlegroups.com
Subject: Re: [dartR] rbind.genlight if objects have different numbers of SNPs
HI Mike,
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/D715659D-F9EF-41B2-88FF-3B8945D0E714%40gmail.com.