[adegenet-forum] Save a new genind/genepop object

Carlo Pecoraro carlo.pecoraro2 at unibo.it
Wed Aug 12 17:20:40 CEST 2015


Hi Thibaut,

many  thanks for your quick answer. 

I want to use the data in other software. So I will try the second option.

Many thanks for your help.

Cheers,
Carlo
________________________________________
Da: Jombart, Thibaut [t.jombart at imperial.ac.uk]
Inviato: mercoledì 12 agosto 2015 17.09
A: Carlo Pecoraro; adegenet-forum at lists.r-forge.r-project.org
Oggetto: RE: Save a new genind/genepop object

Hi Carlo,

it depends on what you do next with the object. If it is to reuse in R, simply use:
save(x, file="x.RData")

where 'x' is your R object.

Otherwise, to use data in other software, you can use df2genind to convert the data to the appropriate format and then write.table / write.csv etc to save to file.

Cheers
Thibaut

________________________________________
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Carlo Pecoraro [carlo.pecoraro2 at unibo.it]
Sent: 12 August 2015 16:04
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] I: Save a new genind/genepop object

Hi all,

I am modifying my genind object, filtering the data for MAF, missing values etc..and I would like to save the new object created after these steps. Any tips? How could I save this new dataset?

Many thanks in advance,

All the best,
Carlo
________________________________
Da: Carlo Pecoraro
Inviato: mercoledì 12 agosto 2015 16.59
A: adegenet-forum at lists.r-forge.r-project.org
Oggetto: Save a new genind/genepop object

Hi all,

I am modifying my genind object, filtering the data for MAF, missing values etc..and I would like to save the new object created after these steps. Any tips? How could I save this new dataset?

Many thanks in advance,

All the best,
Carlo
_______________________________________________
adegenet-forum mailing list
adegenet-forum at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum


More information about the adegenet-forum mailing list