search for: testseq_fa

Displaying 1 result from an estimated 1 matches for "testseq_fa".

Did you mean: testseq_df
2009 Dec 30
1
Factor and Level Issue
...---------------------------- >>> library(seqinr) >>> library("kernlab") >>> >> >> >> > str(mars500_1_df) >> 'data.frame': 256 obs. of 501 variables: >> All of which are factors with 4 levels >> >> >> testSeq_fa=read.fasta("temp1.fasta") >>> testSeq_seq=t(getSequence(testSeq_fa)) >>> testSeq_df=as.data.frame(testSeq_seq,stringsAsFactors=FALSE) >>> testSeq_df = cbind(Class="-",testSeq_df) >>> testSeq_df = data.frame(lapply(testSeq_df,factor)) >>&...