This function allows users to select all members of a specific cluster.

cluster.members(LTRpred.tbl, cluster = NULL)

Arguments

LTRpred.tbl

data.frame generated by LTRpred.

cluster

name of the cluster that shall be searched for.

See also

Author

Hajk-Georg Drost

Examples

if (FALSE) { 
# example prediction file generated by LTRpred 
pred.file <- system.file("Athaliana_TAIR10_chr_all_LTRpred_DataSheet.csv", package = "LTRpred")
# read LTRpred generated prediction file (data sheet)
pred <- read.ltrpred(pred.file)

# extract memebers of cluster 'cl_108'
cluster.members(pred, cluster = "cl_108")

# or safe the sequences of the cluster as fasta
pred2fasta(cluster.members(pred, cluster = "cl_108"), "cl_108_seqs.fa")
}