search for: testseq_seq

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

2009 Dec 30
1
Factor and Level Issue
...t;>> 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)) >>> >> > str(testSeq_df) >> 'data.frame...