Learn R Programming

REDseq (version 1.18.0)

summarizeBySeq: Output count/weight summary by sequences

Description

Output count/weight summary by sequences with each row representing each sequences

Usage

summarizeBySeq(assignedSeqs, by =c("Weight", "SEQid"))

Arguments

assignedSeqs
output from assignSeq2REsite
by
Weight if sum up the weight for each sequence, SEQid if sum the occurrence of each sequence

Value

a matrix with SEQid as the first column and total count/weight as the second column

See Also

summarizeByRE, assignSeq2REsite

Examples

Run this code
	library(REDseq)
	data(example.assignedREDseq)
	summarizeBySeq(example.assignedREDseq, by="Weight")
	summarizeBySeq(example.assignedREDseq,by="SEQid")

Run the code above in your browser using DataLab