Hi!
I´m using Logolas package to represent the enrichment depletion logo of biological data (amino acid sequence).
In this post, I don´t share the complete specifications of Logolas, because the purpose of this post is figure out the meaning of the warning message
This is the package: https://github.com/kkdey/Logolas
This is an alternative version of Weblogo to represent the sequence in bioinformatics.
Here is my input data:
NSTE NFSW NFSW NFSW NFSW NFSW NFSW NSTE NFSW NFSW NFSW NFSW
When I try to represent my data using this, the plot is created, however, the logo doesn´t look like I expect.
This plot gives me this warning message:
using a background with equal probability for all symbols
Analyzing the positional frequency matrix
color_type not provided, so switching to per_row option for
color_type
using a background with equal probability for all symbols
frame width not provided, taken to be 1
frame width not provided, taken to be 1
Error in grid::unit(letters$x, "native") :
'x' and 'units' must have length > 0
Also: Warning messages:
In if (class (table) == "data.frame") {:
the condition has length> 1 and only the first element will be used
2: In if (class (table)! = "Matrix") {:
the condition has length> 1 and only the first element will be used
3: In if (class (table) == "data.frame") {:
the condition has length> 1 and only the first element will be used
4: In if (class (table)! = "Matrix") {:
the condition has length> 1 and only the first element will be used
I don´t understand completely this message. If there is a problem with my data or I need to provide more specifications to the code line to generate the plot.
I try to figure out the exact meaning of this message to apply in my data, however, I did not succeed.
Any suggestion?
Thank!