R/LOAD.R

Defines functions LOAD

LOAD <- function(filename){



liste     <- list.files(filename)
gen       <- vector("list",length(liste))

for(xx in 1:length(liste)){

genX            <- paste(filename,"/",liste[xx],sep="")
tryl            <- try(PopGenread(genX),silent=TRUE)
# tryl            <- try(read.dna(genX,format="fasta",as.character=TRUE))

if(is.matrix(tryl)){
   print(genX)
   gen[[xx]] <- get_data(tryl)
}

}      

}

Try the PopGenome package in your browser

Any scripts or data that you put into this service are public.

PopGenome documentation built on Feb. 1, 2020, 1:07 a.m.