k
for a given dataset in addition to all the output provided by selex.counts
. A Markov model is necessary for evaluation.
selex.affinities(sample, k, minCount=100, top=-1, numSort=TRUE, offset=NULL,
markovModel=NULL, seqfilter=NULL)
FALSE
, K-mers are sorted alphabetically.selex.affinities
returns a data frame containing the K-mer sequence, observed counts, predicted prior observation probability, predicted prior observed counts, affinities, and standard errors.
seqfilter
object is provided, K-mer counting and affinity table construction is redone. See selex.seqfilter
for more details. See `References' for more details regarding K-mer counting and affinity calculation.
selex.counts
, selex.infogain
, selex.kmax
, selex.mm
r2Aff = selex.affinities(sample=r2, k=10, markovModel=mm)
Run the code above in your browser using DataLab