simugeno
creates a as.simugeno
is an alias for simugeno
function.
is.simugeno
tests if an object is a valid simugeno object.
Note: to get the manpage about simugeno(tab,which.loc=NULL,n=1)
as.simugeno(tab,which.loc=NULL,n=1)
is.simugeno(x)
tabfreq
tabfreq
object given in argumentn
gives the numbers of individuals to simulate per population. For a single population, default is 1.simugeno
and as.simugeno
, a simugeno object. For is.simugeno
, a logical."simugeno "
, and tabfreq
for creating a tabfreq object from a data file.data(Tu)
tab<-tabfreq(Tu)
#simulation of 3 individual genotypes for the STR marker FGA
geno1 <- simugeno(tab,which.loc='FGA', n =100)
geno1@tab.geno
Run the code above in your browser using DataLab