Basic question regarding for loop and adding each iteration to new column

2021.09.19 01:54 Darkblade48 Basic question regarding for loop and adding each iteration to new column

Hi there everyone, I have a seemingly basic question that I can't seem to wrap my head around.
As you can see from the code below, I just have a nested for loop that iterates through i and j, and parses all the possible permutations (e.g. in the case below, a combination of 1-1, 1-2, 1-3, 2-1, 2-2, 2-3, 3-1, 3-2, 3-3, etc). Of course this is a basic example that will later be expanded to a much larger data set.
Within the loop, I want to save the output (the function 'pairwiseAlignment' prints out a score that compares the strings), but right now, it's row binding each score, which is fine, but I'd prefer to have a data frame were each i iteration is a new column, while the j iteration is a new row.
I thought naively I could do it just by adding a new column via data$newcolumn, but that doesn't seem to print the new i iterations into a new column.
Any guidance would be greatly appreciated (and sorry for the long post!)
`# Load libraries library(Biostrings)
Combine as set combinedseq = DNAStringSet(c(seq1, seq2, seq3))
combinedquery = combinedseq
Single alignments pairwiseAlignment(combinedseq[[1]], combinedquery[[1]], scoreOnly = TRUE) pairwiseAlignment(combinedseq[[1]], combinedquery[[2]], scoreOnly = TRUE) pairwiseAlignment(combinedseq[[1]], combinedquery[[3]], scoreOnly = TRUE)
pairwiseAlignment(combinedseq[[2]], combinedquery[[1]], scoreOnly = TRUE) pairwiseAlignment(combinedseq[[2]], combinedquery[[2]], scoreOnly = TRUE) pairwiseAlignment(combinedseq[[2]], combinedquery[[3]], scoreOnly = TRUE)
Etc Nested for loops Initialize data data =
Loop for (i in 1:3){ for (j in 1:3){ data = rbind(data, ((pairwiseAlignment(combinedseq[[i]], combinedquery[[j]], scoreOnly = TRUE)))) data$new = j } }
submitted by Darkblade48 to RStudio [link] [comments]

2021.09.19 01:54 blorgden99 Found a box with chicken feet in it on a grave. Would love to understand the meaning.

This sounds like something out of a cheesy horror movie, but this happened to me today and I am insanely curious what this is. I was exploring a cemetery when I noticed a black velvet bag on a grave of a woman who died in the 1870s. I opened the bag and inside was an old wooden box that was falling apart. It looked like some symbols or swirl designs were drawn on the box with a sharpie a long time ago. Inside the box were two moldy chicken feet wrapped around a laminated prisoner ID card for a woman who was possibly Latina.
We were thinking that this was an offering or some sort of voodoo thing, but weren’t sure where to start. Can anyone tell us about the significance of this?
submitted by blorgden99 to RBI [link] [comments]

2021.09.19 01:54 YankinAustralia Is it possible to get a refund due to really bad auto tap/pay?

To set up the board, my opponent has 1 creature, a 4/4. I am at 3 life. I have 6 lands, 3 plains, 2 swamps, and 1 Hostile Hostel. I have 5 cards in hand, 1x Eaten Alive, 1x plains, 1x Heirloom mirror, 1x Diregraf Horde, 1x Cathars call. My plan was to play the Diregraf Horde, then use Eaten Alive to remove his 4/4 sacrificing one of the zombies. When I play the Diregraf Horde, it leaves 1x plains untapped. There is nothing I can play in my hand or on the board with 1x plains. Turn passes, my opponent removes my Diregraf Horde and I lose.
I manually tap mana if there are multiple options in my hand for the left over mana. In instances where there is no other play the system has always tapped correctly in the past. In this case it lost me the game. Not sure if something like this would be refund eligible.
submitted by YankinAustralia to MagicArena [link] [comments]

2021.09.19 01:54 Your_Friend_Fargoth There's several sub-10 minute episodes in Season 1, are they sections of larger episodes?

I was looking at season 1, and I noticed that:

Surely they're just clips of larger episodes? Episodes 1-3 and 9 are all an hour long?
submitted by Your_Friend_Fargoth to gamecentercx [link] [comments]

2021.09.19 01:54 09916021 Two years in

And he’s wonderful.
Not without occasional twinges of pain at the memories, but he’s happy.
He did the work. He changed. He took full responsibility.
I’m happy too.
Glad we stayed and worked things out.
Cheering those of you on who are in the trenches.
If you’re the WS, go no-holds-barred, full transparency, full responsibility.
For my fellow BSes, state your boundaries and hold them. Mine was “if I find a shred of unconfessed scandal, it’s over.” I found it. It was over. I searched for lawyers and started figuring out how I’d make this transition. And that’s when he hit the rock bottom he needed to hit. He confessed crap from before we ever met. He confessed stuff I’d have never found. He confessed with the attitude of a man who was sick of his own stuff, not as a man trying to get me to stay. And I chose reconciliation AFTER I saw full transparency. So thankful.
submitted by 09916021 to AsOneAfterInfidelity [link] [comments]

2021.09.19 01:54 ConvictWithALisp New to slc and i must say Meredith is stunning

New to slc and i must say Meredith is stunning submitted by ConvictWithALisp to realhousewives [link] [comments]

2021.09.19 01:54 GrimJade I need some shiny help!

I’ve been trying to hunt Pidgey for the last 6 hours, with a combo of 55. Been mostly hanging out in Viridian Forest and I’ve just moved to zone resetting the area before Pewter. I wanted to replay the game and Pidgey is one of my favorites, so I wanted a shiny. But literally not a shiny of anything has shown up. Is there something that I’m missing, or is RNG being cruel?
submitted by GrimJade to PokemonLetsGo [link] [comments]

2021.09.19 01:54 SethVultur Elaborate Hellenistic Gold, gem-set cloisonné bracelets with granulation from the 1st-century BCE Greek colonies in the Black Sea region (Ukraine). The Walters Art Museum. (995x501)

Elaborate Hellenistic Gold, gem-set cloisonné bracelets with granulation from the 1st-century BCE Greek colonies in the Black Sea region (Ukraine). The Walters Art Museum. (995x501) submitted by SethVultur to ancientgreece [link] [comments]

2021.09.19 01:54 ProfessorSkyKid Vibri bonds with Batman.

Vibri bonds with Batman. submitted by ProfessorSkyKid to vib_ribbon [link] [comments]

2021.09.19 01:54 VulgarKangaroo In search for coupon / discount codes for XMIGI

Hi folks,
I've decided to bite the bullet and purchase the Xmigi Mogo Pro Plus. Are there any codes that will make the purchase gentler on my wallet?
submitted by VulgarKangaroo to projectors [link] [comments]

2021.09.19 01:54 RetardSuit Name checks out [post sortie salt about getting endo]

Name checks out [post sortie salt about getting endo] submitted by RetardSuit to Warframe [link] [comments]

2021.09.19 01:54 NivJizzet What do Germans think of porngrind?

The musical genre. Especially since you guys are the home country of the most popular porngrind band
submitted by NivJizzet to AskAGerman [link] [comments]

2021.09.19 01:54 xITSISAACx We don't have our own place yet...

Me 22(M) and my girlfriend 28(F) have been together for about 3 months now. I live with my mom and she lives with her parents. She also has a daughter age 7. The reason I bring this up is because we have been having car sex since we met. I am currently looking for an apartment of my own. I would like her to move in with me someday but it would be too soon and plus it's not only her so we'd have to get something bigger than a 1 bedroom. Anyways, what are your thoughts on having car sex in the meantime? We only have sex once a week on the weekend.
submitted by xITSISAACx to relationship_advice [link] [comments]

2021.09.19 01:54 Self-pilot Recommendations for a Martial Art to get into as a 27 year old man who is mostly into it for the self-discipline and fitness?

Hello, thanks for reading. Even resources for where I can get more information or places to chat would be so appreciated. Enjoy your day.
submitted by Self-pilot to martialarts [link] [comments]

2021.09.19 01:54 Environmental_Big_95 Hi, need tips to help me stop taking cocaine!

I’ve been a daily user for over a year now! Only days I would not touch anything is if I’m in bed asleep all day!
I’ve now opened up to my wife who hasn’t had a clue all this time as I’ve had enough now and wanna get off it!! Luckily she is amazing and has stuck by me and trying to help me through it!
Anyway I’m hoping for some tips? I’ve started trying to cut down and only have 1 half a day! (Usually would have at least 2g’s a day!) Is that ok to start with? As don’t think I would manage going cold Turkey!
Any other tips anyone’s got is much appreciated 👍
submitted by Environmental_Big_95 to REDDITORSINRECOVERY [link] [comments]

2021.09.19 01:54 WaitA-MINITEwhat something fills of

codm annevesirry is coming as well as my bday and they finnally lowered down the size of the game. Im so excited for the anneverssirry
submitted by WaitA-MINITEwhat to CODM [link] [comments]

2021.09.19 01:54 BillAbbate What Well-Being Can Add to Your Life

What Well-Being Can Add to Your Life submitted by BillAbbate to MediumPublications [link] [comments]

2021.09.19 01:54 hfoxdotexe I AM A REAL TIME TRAVELER FROM THE YEAR 69420

-2022 Area 51 explodes
-2205 Deez Nuts takes over the earth
-2209 shaggy shits his pants
submitted by hfoxdotexe to copypasta [link] [comments]

2021.09.19 01:54 Super_xz The same guy wanted chroma bat and dogey for rupture, idk if its fair

The same guy wanted chroma bat and dogey for rupture, idk if its fair submitted by Super_xz to MurderMystery2 [link] [comments]

2021.09.19 01:54 FreefallingGopher What headphones does Wubby use?

I have been trying for so long to find a set of over the ear headphones that don't cause me significant pain (as a glasses wearer). Does anyone know what Wubby uses and/or have any suggestions?
submitted by FreefallingGopher to PaymoneyWubby [link] [comments]

2021.09.19 01:54 Veldron Aukus: French minister condemns US and Australia 'lies' over security pact

submitted by Veldron to worldnews [link] [comments]

2021.09.19 01:54 AutoNewspaperAdmin [Politics] - Fearful US residents in Afghanistan hiding out from Taliban | Washington Times

[Politics] - Fearful US residents in Afghanistan hiding out from Taliban | Washington Times submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]

2021.09.19 01:54 BrotherMontanus Sword Cane on Norman?

Running Norman with Livre d'Eibon, so my hand slots are at a premium with Hawkeye Camera in the mix. I want to run Sword Cane, but it's up against Scroll of Secrets. Sword Cane adds a consistent enemy management tool the deck lacks otherwise and I love the flavor. What would you do?
Purple slots: Sword Cane, St. Hubert's Key, and Promise of Power.
submitted by BrotherMontanus to arkhamhorrorlcg [link] [comments]

2021.09.19 01:54 AgreeableGreen3311 How do I fix this I'm on bedrock

How do I fix this I'm on bedrock submitted by AgreeableGreen3311 to Minecraft [link] [comments]

2021.09.19 01:54 redfolkers Mid-tier tailored suit shops?

Hello, I've always worn off the rack and altered suits but now that I have a more client-facing career, I think it's time to invest in a well tailored suit that fits my body in every aspect. Can anyone recommend some stores in LA area?
submitted by redfolkers to LosAngeles [link] [comments]