Importing table onto cytoskape, imports headings but not data - cytoscape

enter image description here
I import my metadata table from the cytoscape directory downloaded from GNPS.
The data shows up in the next window under the appropriate headings.
But when I click import and then go to select a node in my network, the information does not show up in the node table at the bottom.
I have added screenshots for clarity.
Thank you anyone who can help

Also asked and answered on BioStars:
Typically, this happens when there is a mismatch between the "Key Column for Networks", which you have set to "shared name" and the column in your spreadsheet to use to match it. I don't see what column you've selected to match the shared name column, but the values in those columns have to match in order to import the data.
-- scooter
-- scooter

Related

IMPORTRANGE + extra column does not behave as table

I am creating a sheet for our homebrew RPG.
I'm importing a range of data (spell list) in the character sheet, via IMPORTRANGE.
I'm using a True/False checkbox to add the line to a table in another sheet.
=IFERROR(QUERY(DataSorts!$A$3:$Q$1001;"select " &IF($E$15;"C";"B")& " where (A=TRUE)");"")
I want to use the imported datas as a table WITH the checkboxes column, so my players could filter or classify their data. The checkboxes need not to be on the original spell list so any player could have their own selected ones.
I need to Import the data as the original spell list is expanding and I need to update it regularly.
However, if I update my original sheet comporting the speel list, any add or substract of row will break the checkbox usage (because they wont move where the imported data will, thus the spells selected won't stay the same).
How can I link these 2 parameters ?
Use an index to keep the order in the imported data SS, and then perform the combined VLOOKUP+IMPORTRANGE.

How do you alphabetize based on dates, and put most recent at the top?

Sample Sheet
How do you reference the Data Import tab and display everything in order of most recent date at the top within the Worksheet, and alphabetize the Vendor Name (column C - Worksheet)?
I have tried the SORT function but little to no luck as it just alphabetized everything in order even when referencing the Import Date from the Data Import.
For visual reference
FIGURE 1:
FIGURE 2: Expected Outcome
To further elaborate:
This one might be tricky, but Column B will be hyperlinks and also needs to be in the correct order that also belongs to its proper data brethren. This is what I currently have and just references everything in order of new data incoming.
(=ARRAYFORMULA(IF('Data Import' !A:A<>"", HYPERLINK("Some_Website" & 'Data Import'!A4:A&, 'Data Import'!A3:A), ""))
This one I'm guessing will not only need to reference the date, but the naming order as well.
Okay. So this was resolved with the query function.
Source info: https://support.google.com/docs/answer/3093343?hl=en
The sample sheet will remain open to those who are in need of knowing how to use it and can view how it was used.
Doing this resulted in the expected outcome. However, there is an issue.
If you have other columns you intend to put manual data entry, this entry data will remain stagnant and will not move.
Only the columns with the query formula will be dynamic and will keep getting pushed downward while your stagnant entries will remain right where they are.
I'm currently looking into Assigned Index Numbers to resolved this.
Solving the Dynamic / Static Data Alignment challenge using Alignment Index Numbers

When using QUERY, how can I make it so that data moves together when using filter?

I am creating a tool for a video game I play.
Link to the example spreadsheet (Please make a copy to edit so that this copy stays intact for additional helpers).
Sheet 1 is “Choose Owned”. It contains a list of all of the champions available in the game and includes their attributes.
Column A contains checkboxes. Checking a checkbox indicates that the user owns that champion, and brings it to Sheet 2.
Sheet 2 is called “Owned”. It contains a list of the champions checked off in “Choose Owned” (aka the champions the user owns). “Owned” includes the champion attributes too, as first seen in “Choose Owned”.
Beyond those same attributes, “Owned” contains 8 additional columns.
These columns are from Columns G:N and are labeled ‘Level’, ‘Rank’,
‘Ascension Lvl’, and ‘Team Label(s)’ (‘Team Label(s)’ takes up
columns J:N). This data is all unique information and requires the
user to input the information themselves depending on their
champions.
Because there are so many champions, I want the user to be able to use the Filter function in “Owned” so they can easily locate the champion they need or sort the table however they wish.
However, because I use the QUERY function to get the data from “Choose Owned”, the Filter function tends to break. The most obvious error comes when you try to sort A-Z or Z-A; this simply cannot be done. I was fine with this, and have even included a note at the top telling the user to avoid sorting alphabetically.
Everything else works correctly until the user tries to add a new champion from “Choose Owned”. When the champion is added to “Owned”, the additional, unique data in columns G:N go out of order because they don’t move with their original champions.
Example:
I choose my champions. These champions are copied to “Owned”.
I pick their relative data in columns G:N.
A few days later, I obtain new champions and check them off in “Choose Owned” so they are added to “Owned”. However, when I do this, the champions stay in the same order as they are in “Choose Owned”, and columns G:N do not move with their champions so now, that information is with the wrong champion.
I want the additional data (G:N) to move with their champions when the table is edited due to champions being added. Or, in other words, I want those columns to stay linked to the first columns.
If there is a different way to achieve all of this like if I have to use a function other than QUERY, that is fine!
Please share any solutions you may have. I would prefer to not use a script but will consider the idea if it works.
this is a common issue within Google Sheets and it's solvable in 2 ways:
either by introducing a common value (unique ID) and then linking the manual input to query and aligning it by ID
or easier approach in your case - using timestamp/linear ID so every new entry would be added to the bottom and then the query would be sorted based on this order.

Import custom partition into Gephi

I was wondering if gephi supports importing a cluster file that has the community assignment of each node in a graph on a separate line (similar to the Pajek .clu format)? I am looking for a way to color the nodes belonging to the same community. In igraph (for R), I can import this file and set the vertex color attributes based on it. Was wondering if gephi had a similar feature?
I saw this answer here from over 5 years ago saying that it wasn't possible, was wondering if that had changed now?
Thanks!
The .clu file contains one line per node with the cluster number at least the example I see here. Gephi cannot import it directly but you can trick it to obtain the same result. Here are the steps I propose:
Import your .net file with Gephi
Go to Data Laboratory and sort your nodes according to the Id column, by clicking on the column name
Create a new column called Cluster by pressing Add column the bottom of the screen. The default String type will do
Click Export table, select only the fields Id and Cluster, and export the file somewhere
Open the CSV file with e.g. Excel or LibreOffice
Open your .clu file with a text editor, even Notepad will do
Copy all the numbers in the file and paste them in the Cluster column of your CSV. Save your CSV
Import the CSV back into Gephi, by clicking Import Spreadsheet and press ok through the next steps.
At the end you should see your Cluster values having the same values as in the .clu file!
Make sure that the same field delimiter is used throughout in steps 4. and 8. I would suggest to use ; as Excel directly understands it.
You are welcome to report back if you are still having problems

Magmi few rows with same SKU error

I´m using magmi to import products with different names (depending on the language selected in store)
Watching the CSV file exported by magento, I had founded that in the first row all product data is stored and in the following one, there is only the fields you wish to add to the "store view" to the desired language (French, in this case ---> fr).
If I empty the database and imported from the CSV magento own, I successfully created the products and the different names and descriptions for each store view.
The problem is that Magmi tells me I need the SKU on the 3rd line, because logically not find the SKU. Using the same SKU in the second and third line, the last line always prevails introduced, crushing the previous.
Any idea how I could intruducir with Magmi, the names and descriptions in other languages without smash the previus data? .... I begin to be a bit desperate!
CSV example rows:
sku;_store;_attribute_set;_type;_category......... name .......short_description ..etc
09110-296555;fr;Default;simple;books;products...name_english ..description_english
;fr;;;;;;;;;;;;;;;;;;;;;;;;;;;;;name_french......... description_french

Resources