Skip to content

Commit

Permalink
include export functions to foreach in runAnalysis
Browse files Browse the repository at this point in the history
  • Loading branch information
dyohanne committed Aug 13, 2018
1 parent 9a3a126 commit 972f79a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/RepDaAnalysisFns.R
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,8 @@ CountkmerFrequency <- function(seqs,type="NT",k=4){
getKmerFrequency <- function(seqs,type="NT",k=4,normForLength=F){

if(type=="NT"){
seqSet <- DNAStringSet(seqs)
seq_mers <- oligonucleotideFrequency(seqSet,width=k,as.prob=F)
seqSet <- Biostrings::DNAStringSet(seqs)
seq_mers <- Biostrings::oligonucleotideFrequency(seqSet,width=k,as.prob=F)
rownames(seq_mers) <- seqs

}else{
Expand Down

0 comments on commit 972f79a

Please sign in to comment.